kapil_kk
SSC-Insane
Points: 21316
More actions
November 23, 2012 at 9:32 am
#270683
I have a column name with name 'Procedure.ID' and want to rename it as 'ProcedureID'
i write as:
sp_rename ''Procedure.Procedure.ID','ProcedureID'
but its not wrking...
plz reply
_______________________________________________________________To get quick answer follow this link:http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 23, 2012 at 9:40 am
#1561894
sp_rename 'tablename.[columnname],'column_name'
it will works 🙂
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply