SQL Server 2005 Generated Create Table Script not working

后端 未结 7 2229
遇见更好的自我
遇见更好的自我 2021-01-06 00:00

I\'m in the process of creating database scripts for an existing database. I\'m trying to use SQL Server to generate the scripts for me, but the generated scripts are faili

7条回答
  •  逝去的感伤
    2021-01-06 00:19

    I've got the same error. SQL Sever Management Studio defaults to generate scripts for SQL Server 2005, which are not compatible with 2000.

    My solution: In SQL Sever Management Studio, go to Tools>>Options>>Scripting. Under "General Scripting Options, set "Script for server version" to "SQL Server 2000".

提交回复
热议问题