sql:need to change constraint on rename table?

前端 未结 2 1776
盖世英雄少女心
盖世英雄少女心 2021-02-06 00:36

i have change name of table through procedure sp_rename.Do i need to change fk constraint of child table?

2条回答
  •  无人共我
    2021-02-06 01:19

    Constraints and indexes will be automatically renamed, but you will need to manually do rename work in stored procedures, triggers, user-defined functions, and views that reference the table. See the documentation on MSDN.

提交回复
热议问题