您的位置:首页 > 大数据 > 人工智能

INSERT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'.

2015-01-07 15:12 281 查看
I ran into the issue on SQL server.:

INSERT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'.

I checked all stored procedures: it is "

SET
QUOTED_IDENTIFIER
OFF

"

the question: I didn't set the value. the value should be ON by default.

I remembered I run sql script by a sqlcmd.exe , that is the reason.

because the "queoted indentifier " is off by default.

so I rerun the scripts via the following script:

sqlcmd.exe -S "servername" -I -i "sql cript"

The "-I" is to enable the quoted indentifier to ON.


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐