ORACLE设置注释及默认的缺省值

注释:
comment on table "TEST" is '这是注释';
comment on column TEST.ID is '这是注释';
缺省值:
create table test(id int,createtime default sysdate not null );//建表时创建
alter table test modify createtime default sysdate;//建表后修改
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章