Solved

check if  there is a running mssql server on your computer

Posted on 2011-03-23
5
500 Views
Last Modified: 2012-05-11
* can I get some code to check wheater there is a runnung mssql server on a machine

* can i check that for a remote PC  (based on IP adress)

* can I check wheater express or full edition

* can I evaluate the server name ?


---------------  need it as delphi code -------------------------
0
Comment
Question by:BdLm
5 Comments
 
LVL 19

Accepted Solution

by:
Thommy earned 250 total points
ID: 35198469
Enumerating available SQL Servers. Retrieving databases on a SQL Server
http://delphi.about.com/od/sqlservermsdeaccess/l/aa090704a.htm
0
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 250 total points
ID: 35198501
Furthermore, to explore the structure of a known MSSQL database you can use this...

Access / SQL Server Database Explorer with full Delphi source code
http://delphi.about.com/library/weekly/aa071205a.htm
0
 
LVL 24

Assisted Solution

by:jimyX
jimyX earned 125 total points
ID: 35199945
I can't test this but the solution for the first two points is in these links:
http://www.delphi3000.com/articles/article_4052.asp
http://www.delphi3000.com/articles/article_3359.asp?SK=
http://www.delphigroups.info/2/12/178127.html

I did not get what you mean in point three. What do you mean by evaluate the server name?
0
 
LVL 8

Author Comment

by:BdLm
ID: 35205065
what product has to be installed on the client to use sql Server DMO?
could not find that type lib on my computer, using WIN7 prof. and MSSQL Server Express
0
 
LVL 32

Assisted Solution

by:ewangoya
ewangoya earned 125 total points
ID: 35238002

FYI: DMO is to be discontinued (If not discontinued already) so be very careful if you use it

You will be better of finding a solution that uses ADO
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question