I have created a stored proc which takes two input parameters
1. Old Column Name
2. New Column Name
This will renames the old name with new name in all the tables
in the current database
create procedure col_rename
@varOldcol sysname,
@varNewcol sysname
as
begin
declare @varTablename...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.