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;//建表後修改
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章