我试过这样做SET CONSTRAINTS ALL DEFERRED;COMMIT;ERROR: cannot truncate a tablereferenced in a foreign key constraint
DETAIL: Table "xxx" references "tableA".HINT: Truncate table "xxx" at the same time, or use TRU
我想知道是否有一种方法可以强制MSSQL Management Studio生成这样的脚本:ADD MyCol bit NOT NULLDEFAULT 0 WITH VALUES
ALTER COLUMN MyCol2 int NULL
当我更改表上列的一个非常简单的属性时如果我在设计器中这样做,并要求生成<