/* ================================================================================ 档案代号:mmc_file 档案名称:加工码档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table mmc_file ( mmc01 varchar2(10) NOT NULL, /*加工码 */ mmc02 varchar2(80), /*加工说明 */ mmcacti varchar2(1), /*资料有效码 */ mmcuser varchar2(10), /*资料所有者 */ /*系统维护 */ mmcgrup varchar2(10), /*资料所有群 */ /*系统维护 */ mmcmodu varchar2(10), /*资料更改者 */ /*系统维护 */ mmcdate date /*最近修改日 */ /*系统维护 */ ); create unique index mmc_pk on mmc_file (mmc01); alter table mmc_file add constraint mmc_pk primary key (mmc01) enable validate; grant select on mmc_file to public; grant index on mmc_file to public; grant update on mmc_file to public; grant delete on mmc_file to public; grant insert on mmc_file to public; |