Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sql:need to change constraint on rename table?

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

like image 925
Maddy.Shik Avatar asked Dec 24 '09 08:12

Maddy.Shik


1 Answers

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.

like image 125
Konamiman Avatar answered Sep 19 '22 17:09

Konamiman