看一下下面这个例子就会啦,
create table CRM_CERT_APPLY_HEADER (
APPLY_ID integer not null,
APPLY_NO varchar2(32),
APPLY_TIME date,
APPLY_QTY integer,
STAT integer,
APPLY_MAN varchar2(32),
ADDR varchar2(128),
TEL varchar2(32),
POST_CODE varchar2(32),
RESIDUAL_QTY integer,
ORG_ID integer,
ORG_CODE varchar2(32),
ORG_NAME varchar2(128),
IDPATH varchar2(255),
CREATOR varchar2(32),
CREATE_TIME date,
UPDATOR varchar2(32),
UPDATE_TIME date,
CHECKOR varchar2(32),
CHECK_TIME date,
NOTE varchar2(255),
IS_CLOSED integer,
CHECK_QTY integer,
SEND_QTY integer,
constraint PK_CRM_CERT_APPLY_HEADER primary key (APPLY_ID)
)
/
comment on column CRM_CERT_APPLY_HEADER.APPLY_ID is
'申请单ID'
/
comment on column CRM_CERT_APPLY_HEADER.APPLY_NO is
'申请单号'
/
comment on column CRM_CERT_APPLY_HEADER.APPLY_TIME is
'申请日期'
/
comment on column CRM_CERT_APPLY_HEADER.APPLY_QTY is
'申请数量'
/
comment on column CRM_CERT_APPLY_HEADER.STAT is
'状态'
/
comment on column CRM_CERT_APPLY_HEADER.APPLY_MAN is
'申请联系人 '
/
comment on column CRM_CERT_APPLY_HEADER.ADDR is
'邮寄地址'
/
comment on column CRM_CERT_APPLY_HEADER.TEL is
'联系电话'
/
comment on column CRM_CERT_APPLY_HEADER.POST_CODE is
'邮政编码'
/
comment on column CRM_CERT_APPLY_HEADER.RESIDUAL_QTY is
'剩余合格证数量'
/
comment on column CRM_CERT_APPLY_HEADER.ORG_ID is
'申请单位id'
/
comment on column CRM_CERT_APPLY_HEADER.ORG_CODE is
'申请单位编码'
/
comment on column CRM_CERT_APPLY_HEADER.ORG_NAME is
'申请单位名称'
/
comment on column CRM_CERT_APPLY_HEADER.IDPATH is
'IDPATH'
/
comment on column CRM_CERT_APPLY_HEADER.CREATOR is
'制单人'
/
comment on column CRM_CERT_APPLY_HEADER.CREATE_TIME is
'制单时间'
/
comment on column CRM_CERT_APPLY_HEADER.UPDATOR is
'修改人'
/
comment on column CRM_CERT_APPLY_HEADER.UPDATE_TIME is
'修改时间'
/
comment on column CRM_CERT_APPLY_HEADER.CHECKOR is
'审核人'
/
comment on column CRM_CERT_APPLY_HEADER.CHECK_TIME is
'审核时间'
/
comment on column CRM_CERT_APPLY_HEADER.NOTE is
'备注'
/
comment on column CRM_CERT_APPLY_HEADER.IS_CLOSED is
'1,否,2 是'
/
comment on column CRM_CERT_APPLY_HEADER.CHECK_QTY is
'审核数量'
/
comment on column CRM_CERT_APPLY_HEADER.SEND_QTY is
'已发放数量'
/