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