Te respondio con la informacion oficial. Por que quieres usar la registry?
-- -------------------------------- Ing. José Mariano Alvarez http://blog.josemarianoalvarez.com/ http://twitter.com/JoseMarianoA Microsoft MVP SQL Total Consulting 2009/9/3 PabloC <[email protected]> > Gracias Diego, pero que tiene que ver con lo que yo pregunte??? > > > > Saludos > > PabloC > > > > *De:* [email protected] [mailto:[email protected]] *En nombre de *Vega Diego > Raul > *Enviado el:* Jueves, 03 de Septiembre de 2009 14:28 > *Para:* pablo.canonico > > *Asunto:* [dbms] SP1 de SQL2008 > > > How to identify your SQL Server version and edition > > http://support.microsoft.com/default.aspx/kb/321185 > > > > For example, the results resemble the following. > > 10.0.1600.22 > > RTM > > Enterprise Edition > > The following table lists the Sqlservr.exe version number. > > *Release* > > *Sqlservr.exe* > > RTM > > 2007.100.1600.0 > > SQL Server 2008 Service Pack 1 > > 2007.100.2531.0 > > > > > > > > *Saludos …*** > > * * > > *Diego Vega* > > Administración de Servidores y BD > > Gerencia de Tecnología y Sistemas > > t: 0351 420 7119 / int. 7119 > > > > > > > ------------------------------ > > *De:* [email protected] [mailto:[email protected]] *En nombre de *PabloC > *Enviado el:* Martes, 01 de Septiembre de 2009 04:30 p.m. > *Para:* Vega Diego Raul > *Asunto:* [dbms] SP1 de SQL2008 > > > > Hola a todos > > Para saber que version de SQL tengo instalada en un PC en la registry en > > HKLM "SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion" > "CurrentVersion" me dice 8.00.194 esto significa que es un SQL2000 y en > HKLM "SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion" > "CSDVersion" me dice 8.00.2039 esto es Service Pack 4 > > > > En una PC con SQL2008 en CurrentVersion me dice 10.0.2531.0 y NO existe > ninguna entrada como la del SQL2000 con CSDVersion para saber el ServicePack > > > > Alguno sabe como detectar esto? > > > > Si ejecuto desde el Management Studio lo siguente > > Declare @cValor SQL_Variant > > Set @cValor =(SELECT SERVERPROPERTY('ProductLevel')) > > Print 'ProductLevel : ' + Cast(@cValor As Varchar(100)) > > Print '' > > > > Set @cValor =(SELECT @@VERSION) > > Print 'Version : ' + Cast(@cValor As Varchar(100)) > > Print '' > > > > Set @cValor =(SELECT SERVERPROPERTY('ProductVersion')) > > Print 'ProductVersion : ' + Cast(@cValor As Varchar(100)) > > Print '' > > > > Set @cValor =(SELECT SERVERPROPERTY('Edition')) > > Print 'Edition : ' + Cast(@cValor As Varchar(100)) > > Print '' > > > > Me devuelve > > ProductLevel : SP1 > > > > Version : Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64) > > Mar 29 2009 10:11:52 > > Copyright (c) 1988-2008 > > > > ProductVersion : 10.0.2531.0 > > > > Edition : Developer Edition (64-bit) > > > > Por lo cual es un SQL2008 con su correspondiente SP1 > > > > Saludos > > PabloC > > >
<<image003.jpg>>
