码迷,mamicode.com
首页 > 数据库 > 详细

sql

时间:2017-07-30 15:43:09      阅读:195      评论:0      收藏:0      [点我收藏+]

标签: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

标签:sql   created   null   insert   状态   标示   column   values   info   

原文地址:http://www.cnblogs.com/panxuejun/p/7259174.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!