Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Select connection string in SSMS

$
0
0
Hello,I would like to be able to select the full SQL connection string and use it in a POWERSHELL script. Is there a query that I can run in SSMS that would return the full connection string?Something like... SELECT @@SERVERNAME, DB_NAME, etc FROM MASTER (or whatever)Thank you all for your continued support.

Viewing all articles
Browse latest Browse all 3145

Trending Articles