Changing SQL compatibility mode from Sql 2005 to Sql 2008


we have number of databases run under sql 2012 database server, in sql 2005 compatibility mode. currently, database team switch compatibility mode higher version, since sql 2005 @ end of support. if experience issues applications connecting these databases, possible switch compatibility mode sql 2005? implications?? thank in advance time , in answering these questions.

hi,

yes, can change compatibility mode , forth between 2005, 2008 , 2012.

compatibility mode doesn't convert database inner file structure.

it tells sql engine treat t-sql code in database if running in sql 2005, sql 2008, etc.

for example, following line fail in sql 2005 compatibility mode (because date type wasn't available)

declare @x date

-- fails in sql 2005 compatibility mode

-- succeeds in sql 2008 , sql 2012 compatibility modes



SQL Server  >  SQL Server Migration



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........