Adr*_*der 90
您将要么必须指定DEFAULT,要么添加允许NULL的列,更新所有值,然后将列更改为NOT NULL.
ALTER TABLE <YourTable>
ADD <NewColumn> <NewColumnType> NOT NULL DEFAULT <DefaultValue>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
107816 次 |
| 最近记录: |