alter sql table name code example Example: sql alter column name sql server EXEC sp_RENAME 'table_name.oldColumn_name' , 'newColumn_name', 'COLUMN'