create table testemp(
id varchar2(50) default sys_guid(),
deptno varchar2(20) ,--部门编码
ename varchar2(20),--人名
sal number(10)--工资 )
----表名描述
comment on table testemp is '测试专用表';
----字段备注
comment on column testemp.deptno is '部门编码';
comment on column testemp.ename is '人名';
comment on column testemp.sal is '工资';
如果觉得《Oracle创建表 并添加默认值和备注》对你有帮助,请点赞、收藏,并留下你的观点哦!