sql query renaming attributes code example Example: modify column name in tsql sp_rename 'table_name.old_column', 'new_name', 'COLUMN';