Rename column SQL Server 2008

前端 未结 12 2181
名媛妹妹
名媛妹妹 2020-11-27 08:52

I am using SQL Server 2008 and Navicat. I need to rename a column in a table using SQL.

ALTER TABLE table_name RENAME COLUMN old_name to new_name;

12条回答
  •  我在风中等你
    2020-11-27 09:25

    Or you could just slow-click twice on the column in SQL Management Studio and rename it through the UI...

提交回复
热议问题