Posts Rename SQL column
Post
Cancel

Rename SQL column

Here is the script to rename an SQL column,

EXEC sp_rename
@objname = 'table_name.old_column_name',
@newname = 'new_column_name',
@objtype = 'COLUMN'
This post is licensed under CC BY 4.0 by the author.