Renaming a column
sp_rename 'TABLENAME.[COLUMNNAME]','NewColumnName','COLUMN'
Renaming a table/stored procedure any other object
sp_rename 'oldObjectName', 'newObjectName'
sp_rename 'TABLENAME.[COLUMNNAME]','NewColumnName','COLUMN'
Renaming a table/stored procedure any other object
sp_rename 'oldObjectName', 'newObjectName'
No comments:
Post a Comment