• subscribe
June 20, 2001 12:00 AM

Tip: Reporting on Server Properties

SQL Server Pro
InstantDoc ID #21359

The serverproperty(propertyname) function in SQL Server 2000 is a great resource for finding out which edition and which service pack of SQL Server you're running. You can use the serverproperty() function to report on any of the server properties that Figure A shows. SQL Server Books Online (BOL) has information about what serverproperty() reports for each of these properties. I'm especially fond of Edition and ProductLevel because they quickly show you which SQL Server edition and service pack you're running. The command

SELECT serverproperty('Edition')

returns one of the following responses: 'Desktop Engine', 'Developer Edition', 'Enterprise Edition', 'Enterprise Evaluation Edition', 'Personal Edition', or 'Standard Edition'. The command

SELECT serverproperty('ProductLevel')

returns 'RTM' for the shipping version, 'SPn' for the service pack version, or 'Bn' for the beta version.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...