I am using following SQL command with sp_rename to rename a column.
USE MYSYS;
GO
EXEC sp_rename 'MYSYS.SYSDetails.AssetName', 'AssetTypeName', 'COLUMN';
GO
But it is causing an error:
Msg 15248, Level 11, State 1, Procedure sp_rename, Line 238
Either the parameter @objname is ambiguous or the claimed @objtype (COLUMN) is wrong.
Please suggest how to rename a column using sp_rename.
[ this command I am using found at Microsoft Technet ]