SQL Server 2008 generate script wizard gives me a script that results in “unclosed quotation marks”

后端 未结 4 440
醉话见心
醉话见心 2021-01-14 10:36

I have an SQL server 2008 database instance on one machine. Now I want to copy this database to another machine. I use the script wizard inside SQL Management Studio to gene

4条回答
  •  星月不相逢
    2021-01-14 11:17

    EDIT: Just noted from your comment that you're running sqlcmd -S server\database -i script.sql. There is a -I switch that stands for "Enable Quoted Identifiers". Try to run the command with this switch.

    Btw, to edit a large file, consider using a nice editor like Notepad++ or UltraEdit. I wouldn't use a workstation without em :)

提交回复
热议问题