1、重命名表
将表OLD重命名为NEW:
EXEC sp_rename 'OLD','NEW'
GO
2、重命名列
将表table1中的列old重命名为new:
EXEC sp_rename 'table1.old','new','COLUMN'