Check if SQL Server version is 2005 or lower

This script shows a simple way to check if the current version of SQL Server is 2005 or lower.It exploits the new server property called 'BuildClrVersion' which is not defined on SQL Server 2000 (and lower) but has just been introduced with 2005.It may be useful to condition the execution of a piece of code […]

2007-08-16 (first published: )

222 reads

Blogs

Daily Coping 10 Jul 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter and to...

Daily Coping 9 Jul 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter and to...

Refreshing a Power BI Dataset in Azure Data Factory

By

I recently needed to ensure that a Power BI imported dataset would be refreshed...

Read the latest Blogs

Forums

Controlling Intelligent Query Processing Features

By Kathi Kellenberger

Comments posted to this topic are about the item Controlling Intelligent Query Processing Features,...

To use the same function to pass table name as a parameter

By Kenean

I have this function, but I wanted to pass a table so as to...

Create SQL Login to View only one database on server

By yogi123

Hi All, I have one task to create a login, and user need to...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers