SQL Server 2008 compatibility with SQL Server 2005

前端 未结 3 1248
遥遥无期
遥遥无期 2020-12-10 03:04

What is the best way to use SQL Server 2008 as a development database, but ensure that the database is compatible with SQL Server 2005?

3条回答
  •  感情败类
    2020-12-10 03:56

    This can be done via SQL Enterprise Manager or like this:

    ALTER DATABASE  
    SET COMPATIBILITY_LEVEL = { 80 | 90 | 100 }
    

    Use 90 for 2005 compatibility.

    This replaces the functionality used for previous releases, the stored procedure sp_dbcmptlevel.

提交回复
热议问题