Where can I find unique information about SQL server installation?
For SQL 2000 is propagated a solution like this:
USE master
EXEC xp_regread 'HKEY_LOCAL_MACHINE',
'SOFTWARE\Microsoft\Microsoft SQL
Server\80\registration', 'CD_KEY'
But what about SQL 2005 and SQL 2008?
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\ProductID ProductIDNNNNN?