Setting the MS-SQL compatibility levels

sp_dbcmptlevel : This command is using to set certain database behaviors to be compatible with the specified version of SQL Servers.


   —-SQL Server 2005 database compatible level to SQL Server 2000
EXEC sp_dbcmptlevel <DBNAME>, 80;
Version of SQL Server database can be one of the following:
  • 60 = SQL Server 6.0
  • 65 = SQL Server 6.5
  • 70 = SQL Server 7.0
  • 80 = SQL Server 2000
  • 90 = SQL Server 2005

Please find the full post in Pinal Dave’s Blog

Reference :

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: