alter name table sql server code example
Example 1: alter table name sql
-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';
Example 2: sql alter column name sql server
EXEC sp_RENAME 'table_name.oldColumn_name' , 'newColumn_name', 'COLUMN'