Add Column on SQL Server on Specific Place?

前端 未结 9 1625
-上瘾入骨i
-上瘾入骨i 2021-01-19 02:12

I would like to know if there\'s a way to add a column to an SQL Server table after it\'s created and in a specific position??

Thanks.

9条回答
  •  爱一瞬间的悲伤
    2021-01-19 02:33

    In addition to all the other responses, remember that you can reorder and rename columns in VIEWs. So, if you find it necessary to store the data in one format but present it in another, you can simply add the column on to the end of the table and create a single table view that reorders and renames the columns you want to show. In almost every circumstance, this view will behave exactly like the original table.

提交回复
热议问题