Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Rename primary key column

Author  Topic 

ahmeds08
Aged Yak Warrior

737 Posts

Posted - 2014-07-22 : 07:02:42
Hi,
will there be any issues if i rename a primary key column name,which is already beging referenced as a foreign key by other tables.

Javeed Ahmed

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2014-07-22 : 08:01:29
Shouldn't be. But whenever I'm not sure, I set up a mini-environment in a SQL server on my own computer that models the current situation. Then I can try whatever I like without affecting anyone else and see what works and what doesn't
Go to Top of Page
   

- Advertisement -