Solved

check if  there is a running mssql server on your computer

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 2010 Export to pdf 2 284
Delphi: how to send PJL commands to printer 3 88
tidtcpserver connection lost handle 2 69
Adoquery sql  left join does not work 25 80
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now