Archive for September, 2011
Get Installed SQL Server Instance on a Server
September 13, 2011
Leave a comment
Developed the script to get installed SQL Server Instance on a Server. To run this script user should have admin privileges or minimum permission to read OS registry on the server.
DECLARE @Registry_Value VARCHAR(1000) DECLARE @SQL_In AS
INSERT EXECUTE @Registry_Value OUTPUT
SELECT |
Categories: SQL Scripts