Determine the Version and Build Information for Microsoft SQL Server

Determine the Version and Build Information for Microsoft SQL Server

Use the following query to determine the version and build information for Microsoft SQL Server:

select @@microsoftversion / 0x01000000 as version,     cast(cast(@@microsoftversion as binary(2)) as int) as build;

The query returns the version number will be 7 for SQL Server 7.0, 8 for SQL Server 2000, 9 for SQL Server 2005 and 10 for SQL Server 2008. To determine the service pack level and edition information, please refer to this Microsoft Knowledge Base article.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular