26 June 2012

Script for renaming column in table in Sql Server


Script for renaming column in table in Sql Server :

sp_RENAME 'TableName.[OldColumnName]' , '[NewColumnName]', 'COLUMN'



No comments:

Post a Comment

Comments Welcome