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