问题
How can I add a computed column to a table that already exists? S.O. has Computed Column Help - TSQL but no information about adding them.
回答1:
The syntax I was looking for is:
alter table TABLE_NAME
add [column_name] as (**COLUMN-SQL**)
来源:https://stackoverflow.com/questions/11058387/how-do-you-add-a-computed-column-to-a-table