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.
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.
相关文章推荐
- INSERT failed because the following SET options have incorrect settings: 'ANSI_PADDING'. Verify that
- Error: 1934 INSERT failed because the following SET options have incorrect settings: 'ARITHABORT'.
- Ignoring unused library classes...java.io.IOException: You have to specify '-keep' options for the s
- The server method '' failed with the following error:" .... and no error description
- Cannot insert explicit value for identity column in table 'settings' when IDENTITY_INSERT is set to OFF.
- The project could not be deployed to the 'localhost' server because of the following connectivity problems.
- in a frame because it set 'X-Frame-Options' to 'DENY'.
- java.io.IOException: You have to specify '-keep' options for the shrinking step.
- HHC4003: Warning:The following option line does not contain an '=' character separating the option and its value: 锘縖OPTIONS]
- Cannot insert explicit value for identity column in table 'settings' when IDENTITY_INSERT is set to OFF.
- Error: 1934 SET options have incorrect settings: 'ARITHABORT'.
- 浏览器IFrame出Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'DENY' 的错
- Error:svn: E175002: connection refused by the server svn: E175002: OPTIONS request failed on '
- VS2010 + Sql Server Express 2008 R2 如何安装(兼谈错误:The database 'XXX' cannot be opened because it is version 661. This server support
- SQL Error: setEnabled failed for server Protocol 'tcp'
- vc 出现“fatal error C1085: Cannot write precompiled header file: 'Debug/xxx.pch': The parameter is incorrect“的错误的解决办法
- How to solve “add/remove operation is impossible, because the code element 'Cxxx' is read only”
- vc6.0中 identifier was truncated to '255' characters in the debug information警告的解决
- The call to LoadLibrary(YourExtensionName) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
- Rollback button with the property 'immediate' set to 'true' doesn't rollback values from a task flow.