且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

T-SQL:DROP表级联约束等效吗?

更新时间:2023-02-05 10:38:40

否,在SSMS中,右键单击表格,然后选择脚本表格为,然后选择拖放至,然后是新窗口,文件...或剪贴板,它将产生一个脚本,其中包括所有必要的FK等等。

NO, IN SSMS right click on the table, and select "script table as" then "drop to", then "new window", "file..." or "clipboard" and it will produce a script that will include all the necessary drops of FKs etc.