oracle表添加一列

2015-02-03 04:30:26 · 作者: · 浏览: 14

语法:alter table 表名 add 列名 列格式 [null/not null]

例子:

alter table t_test_lll add createdate Date null;


注意:添加非空列时,要保证表中没有数据。