rename column alter table sql server code example Example: rename column name sql server EXEC sp_RENAME 'table_name.old_name', 'new_name', 'COLUMN'