hi friends
I want to know how to rename column of any database table in result set in SQL Server ?
Thank you.
Rename Column of Any Database Table in Result Set in SQL Server ?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Satyapriya NayakRank #47 · 31.5K reputationPosted Jun 24, 2012, 8:16 AM EDT
sp_RENAME 'TableName.[OldColumnName]' , '[NewColumnName]', 'COLUMN'
Thanks
Suthish NairRank #92 · 22.8K reputationPosted Jun 24, 2012, 12:51 PM EDT