After going through this post , I am trying to add the following command in my stored procedure:
ALTER TABLE MyTable NOCHECK CONSTRAINT ALL
But the editor underlines it and shows this error:
SQL70005: The ALL option cannot be used to modify constraints. You must use individual constraint names instead
I'm using VS2013 Express for Web with SQL Server 2008 R2 Express. What am I missing here?
您可以编写一个脚本,该脚本将生成所有语句以供您禁用每个语句(并视情况重新启用)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.