Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL Server rename foreign key constraint

sp_rename 'schema_name.old_fk_name', 'new_fk_name';
Source by database.guide #
 
PREVIOUS NEXT
Tagged: #SQL #Server #rename #foreign #key #constraint
ADD COMMENT
Topic
Name
5+7 =