Advertisement

04.30.2008 at 07:18PM PDT, ID: 23367485
[x]
Attachment Details

How to get the catalog name of sql server 2005 through c#

Asked by billgate123 in Microsoft Visual C#.Net

Tags: Microsoft, c#, SQL server 2005

HI
i have to get the SQL Server 2005 catalog name through c#(example we/SQLEXPRESS)
usually i get through select @@servername
but i need a connection string to get the result for this
my requirement is to get the servername defaulty through another method without connection
i dont know the connection string that s the problem
then is there any api s running for sql server 2005 to get the servername
Start Free Trial
[+][-]04.30.2008 at 07:20PM PDT, ID: 21476124

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 09:32PM PDT, ID: 21476531

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual C#.Net
Tags: Microsoft, c#, SQL server 2005
Sign Up Now!
Solution Provided By: IndianOcean
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.01.2008 at 08:22AM PDT, ID: 21479449

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 09:49PM PDT, ID: 21484598

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.04.2008 at 07:05PM PDT, ID: 21497752

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628