/* ================================================================================ 档案代号:wsk_file 档案名称:easyflow 整合中介暂存档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table wsk_file ( wsk01 varchar2(20) NOT NULL, /*FGLSERVER 的值 */ wsk02 varchar2(10) NOT NULL, /*使用者代号 */ wsk03 varchar2(20) NOT NULL, /*程式代号 */ wsk04 varchar2(5), /*TIPTOP 表单单别 */ wsk05 varchar2(80) NOT NULL, /*TIPTOP 表单单号 */ wsk06 varchar2(10), /*填表人 */ wsk07 varchar2(10), /*表单关系人 */ wsk08 varchar2(20), /*EasyFlow 单别 */ wsk09 varchar2(32), /*EasyFlow 单号 */ wsk10 varchar2(4), /*关号 */ wsk11 varchar2(4), /*支号 */ wsk12 varchar2(4), /*流水号 */ wsk13 varchar2(4), /*签核序号 */ wsk14 varchar2(10), /*选择资料夹 */ wsk15 varchar2(1) /*No Use */ ); create unique index wsk_01 on wsk_file (wsk01,wsk02,wsk03,wsk05); alter table wsk_file add constraint wsk_pk primary key (wsk01,wsk02,wsk03,wsk05) enable validate; grant select on wsk_file to public; grant index on wsk_file to public; grant update on wsk_file to public; grant delete on wsk_file to public; grant insert on wsk_file to public; |