Hi Folks,I tried to rename a column using 'sp_rename' procedure throwing the following error. USE MyDB;GOEXEC sp_rename @objname ='Schema_Name.Table_Name.Old_Column_Name', @newname = 'New_Column_Name', @objtype ='COLUMN';GOMsg 15248, Level 11, State 1, Procedure sp_rename, Line 240Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong.But if I use the SSMS designer to rename the column, it works fine.Any one had this issue.Thanks!
↧