标签:sql created null insert 状态 标示 column values info
--防伪标识表
create table ANTI_FAKE_CODE_INFO
(
ID VARCHAR2(32) not null,
ANTI_FAKE_CODE VARCHAR2(20),
STATU CHAR(1),
CREATED_BY VARCHAR2(50),
CREATED_DATE DATE,
);
alter table ANTI_FAKE_CODE_INFO
add constraint PK_ANTI_FAKE_CODE_INFO_ID primary key (ID);
comment on table ANTI_FAKE_CODE_INFO is ‘防伪标识表‘;
comment on column ANTI_FAKE_CODE_INFO.ID is ‘防伪标示唯一ID‘;
comment on column ANTI_FAKE_CODE_INFO.ANTI_FAKE_CODE is ‘防伪标识码‘;
comment on column ANTI_FAKE_CODE_INFO.STATU is ‘状态:1启用,0失效‘;
comment on column ANTI_FAKE_CODE_INFO.CREATED_BY is ‘创建人‘;
comment on column ANTI_FAKE_CODE_INFO.CREATED_DATE is ‘创建日期‘;
insert into ANTI_FAKE_CODE_INFO(ANTI_FAKE_CODE,STATU,CREATED_BY,CREATED_DATE)values
标签:sql created null insert 状态 标示 column values info
原文地址:http://www.cnblogs.com/panxuejun/p/7259174.html