语法:alter table 表名 add 列名 列格式 [null/not null]
例子:
alter table t_test_lll add createdate Date null;
注意:添加非空列时,要保证表中没有数据。
时间: 2024-08-09 01:30:52
语法:alter table 表名 add 列名 列格式 [null/not null]
例子:
alter table t_test_lll add createdate Date null;
注意:添加非空列时,要保证表中没有数据。