Forum Discussion

Mauricio1502's avatar
Mauricio1502
Copper Contributor
Feb 23, 2024

How to detect that a column was renamed

Hi,

   products like SQL Compare generates a script for all the changes that must be done to a target database, including column rename. How can I detect that with transact-sql? I can find inserted and dropped columns, even if a column with the same name has changed size or type, but I can't find a way to detect when a column was renamed.

   Any help would be appreciated.

   Thanks.

 

Mauricio