Wednesday, July 8, 2009

Find the SQL Server CD key Installed in your PC Using SQL command

USE master
EXEC xp_regread 'HKEY_LOCAL_MACHINE',
                'SOFTWARE\Microsoft\Microsoft SQL Server\80\registration', 
                 'CD_KEY'

No comments: