Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server 2008 compatibility level

After migrating a database from SQL Server 2000 to 2008, in what situations is it justified to leave compatibility level to 80 permanently. The system consists of stored procs, triggers, views and tables only. No DTS, reports and other non-database engine stuff.

like image 734
Girish Avatar asked Oct 12 '10 14:10

Girish


People also ask

What is the compatibility level in SQL Server?

SQL Server compatibility level is one of the database settings. It helps to keep the database compatible with SQL server versions. By default compatibility level of the database is lower than the SQL server version. It impacts many objects in the server.

Is SQL Server 2008 R2 compatible with Windows Server 2019?

SQL Server 2019 allows you to directly upgrade from SQL Server 2008/R2 and keep the database compatibility to the earlier version.

What is compatibility level in SQL Server 2012?

The minimum compatibility level supported by SQL Server 2012 is 90, which is a SQL Server 2005 database. You will eventually get an error similar to: The database was backed up on a server running version 8.00. 0760. That version is incompatible with this server, which is running version 11.00.

Can SQL Server 2008 run on Windows Server 2016?

SQL Server 2008 is not supported on Windows 10 or Windows Server 2016.


1 Answers

Some possible reasons:

  • The *= and =* operators for outer join are supported with a warning message.
  • SET XACT_ABORT OFF is allowed inside a trigger.
  • For locking hints in the FROM clause, the WITH keyword is always optional.
  • You use the following PIVOT, UNPIVOT, REVERT, TABLESAMPLE but not as keywords
  • The FOR BROWSE clause is allowed (and ignored) in views.
  • Character string constants and varbinary constants of size greater than 8000 are treated as text, ntext, or image.

So if you are currently doing any of those things and don't want to rewrite anything you might consider staying at 80.

You can take a look at this link to see the full list.

like image 74
Abe Miessler Avatar answered Sep 18 '22 16:09

Abe Miessler