Solved

check if  there is a running mssql server on your computer

Posted on 2011-03-23
5
499 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using idhttp to login to instagram 2 89
Convert a string into a TDateTime 5 61
How to build JSON File in Delphi 6 3 34
Twebbrowser add css to the header 3 25
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

778 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