SQL Server ->> 存储过程sp_rename重命名数据对象
1)表转移Schema和重命名表ALTER SCHEMA Stage TRANSFER dbo.Stage_AAA;EXEC sp_rename 'Stage.Stage_AAA', 'AAA';2)重命名列USE [MyDB]GOIF EXISTS(SELECT * FROM sys.columns WHERE name = ...