台灣最大程式設計社群網站
線上人數
591
 
會員總數:246044
討論主題:189631
歡迎您免費加入會員
討論區列表 >> Oracle >> oracle 10g 10.2.0.4.0 emp data imp 到oracle 10g
[]  
[我要回覆]
1
回應主題 加入我的關注話題 檢舉此篇討論 將提問者加入個人黑名單
oracle 10g 10.2.0.4.0 emp data imp 到oracle 10g
價值 : 50 QP  點閱數:2394 回應數:3
樓主

小島上的男人
初學者
92 79
1527 152
發送站內信

Hi All

小弟有一個來源DBoracle 10g 10.2.0.4.0 on 在windows 2008 r2 server(英文版) 上 要export 資料到目的DB oracle 10g 10.2.0.3.0 on在windows 2008 r2 server(中文版)上

export 指令如下:

exp better/mf2000@orcl file=z:\better.dmp log=z:\better.log

import 指令如下:

imp system/oracle@orcl FILE=c:\better.DMP fromuser=better touser=mftest log=c
:\mf2000.log ignore=y

結果得到下面的錯誤訊息

IMP-00019: 資料列遭拒由於發生 ORACLE 錯誤 1
IMP-00003: ORACLE 錯誤 1 發生
ORA-00001: 違反必須為唯一的限制條件 (MFTEST.PK_AGP06)
資料欄 1 AGP06
資料欄 2 10
資料欄 3 穩定力分析
資料欄 4 03
資料欄 5 固定比率
資料欄 6 固定資產
資料欄 7 股東權益
資料欄 8 1860
資料欄 9 0
資料欄 10 0
資料欄 11
資料欄 12
IMP-00019: 資料列遭拒由於發生 ORACLE 錯誤 1
IMP-00003: ORACLE 錯誤 1 發生
ORA-00001: 違反必須為唯一的限制條件 (MFTEST.PK_AGP06)
資料欄 1 AGP06
資料欄 2 10
資料欄 3 穩定力分析
資料欄 4 04
資料欄 5 負債比率
資料欄 6 負債
資料欄 7 股東權益
資料欄 8 33852478
資料欄 9 0
資料欄 10 0
資料欄 11
資料欄 12

很多這樣的循環!最後是如下循環

"SELECT TO_CHAR(sysdate,'YYYY')||TO_CHAR(sysdate,'MM')||TO_CHAR(sysdate,'DD'"
") into m_TXDAT FROM dual;"
"SELECT TO_CHAR(SYSDATE,'hh24miss')||'00' INTO m_TXTM FROM dual;"
"SELECT sys_context('userenv','current_user') INTO cSOURCEDB FROM dual;"
""
"INSERT INTO TX_POLN(NUM_PO,NUM_LINE,COD_ITEM,PS_ITNAME,PS_ITDSC,PS_4,DAT_CL"
"EAR,QTY_REQ,STS_LINE,COD_CUST,SOURCEDB,NL,TXDAT,TXTM,TRMK) "
"VALUES(:new.NUM_PO,:new.NUM_LINE,:new.COD_ITEM,:new.PS_ITNAME,:new.PS_ITDSC"
",:new.PS_4,:new.DAT_CLEAR,:new.QTY_REQ,:new.STS_LINE,:new.COD_CUST,cSOURCED"
"B,'N',m_TXDAT,m_TXTM,'N');"
""
"exception"
"when others then"
"raise_application_error(-20102,'** INSERT(N) TX_POLN ERROR **');"
"--put ('** INSERT(N) TX_POLN ERROR -->' ||sqlcode||sqlerrm);"
"END pPOLN_N; "
""
""
"BEGIN "
""
"cNUM_PO := ''; "
"cNUM_LINE := ''; "
"cCOD_ITEM := ''; "
"cSTS_LINE := ''; "
"cSOURCEDB := ''; "
""
"IF DELETING OR UPDATING THEN "
"pPOLN_L; -- INSERT TX_POLN(?INSERT L???)"
"END IF; "
"IF INSERTING OR UPDATING THEN "
"pPOLN_N; -- INSERT TX_POLN(?INSERT N???)"
"END IF; "
""
"END;"
IMP-00041: 警告: 完成物件的建立, 但編譯結果含有警告
"CREATE TRIGGER "MFTEST"."X_TRAND" AFTER DELETE OR INSERT OR UPDATE OF NUM_T"
"RAM,LIN_TRAM,NUM_REQS,LIN_REQS,NUM_BUY,LIN_BUY,COD_ITEM,QTY_TRAND,FACT_TRNS"
",CNT_NOTEP,C_NO,CNT_EVAL,MATERIAL,WGT_UNIT ON TRAND FOR EACH ROW "
""
"DECLARE "
""
"cNUM_TRAM TRAND.NUM_TRAM%TYPE; "
"cLIN_TRAM TRAND.LIN_TRAM%TYPE;"
"cNUM_REQS TRAND.NUM_REQS%TYPE;"
"cLIN_REQS TRAND.LIN_REQS%TYPE;"
"cNUM_BUY TRAND.NUM_BUY%TYPE;"
"cLIN_BUY TRAND.LIN_BUY%TYPE;"
"cCOD_ITEM TRAND.COD_ITEM%TYPE;"
"cQTY_TRAND TRAND.QTY_TRAND%TYPE; "
"cFACT_TRNS TRAND.FACT_TRNS%TYPE; "
"cCNT_NOTEP TRAND.CNT_NOTEP%TYPE; "
"cC_NO TRAND.C_NO%TYPE; "
"cCNT_EVAL TRAND.CNT_EVAL%TYPE; "
"cMATERIAL TRAND.MATERIAL%TYPE; "
"cWGT_UNIT TRAND.WGT_UNIT%TYPE; "
"cSOURCEDB VARCHAR2(20); "
"m_TXDAT VARCHAR2(10);"
"m_TXTM VARCHAR2(10);"
""
""
"PROCEDURE pTRAND_L IS"
"BEGIN"
""
"SELECT TO_CHAR(sysdate,'YYYY')||TO_CHAR(sysdate,'MM')||TO_CHAR(sysdate,'DD'"
") into m_TXDAT FROM dual;"
"SELECT TO_CHAR(SYSDATE,'hh24miss')||'00' INTO m_TXTM FROM dual;"
"SELECT sys_context('userenv','current_user') INTO cSOURCEDB FROM dual;"
""
"INSERT INTO TX_TRAND(NUM_TRAM,LIN_TRAM,NUM_REQS,LIN_REQS,NUM_BUY,LIN_BUY,CO"
"D_ITEM,QTY_TRAND,FACT_TRNS,CNT_NOTEP,C_NO,CNT_EVAL,MATERIAL,WGT_UNIT,SOURCE"
"DB,NL,TXDAT,TXTM,TRMK) "
"VALUES(:old.NUM_TRAM,:old.LIN_TRAM,:old.NUM_REQS,:old.LIN_REQS,:old.NUM_BUY"
",:old.LIN_BUY,:old.COD_ITEM,:old.QTY_TRAND,:old.FACT_TRNS,:old.CNT_NOTEP,:o"
"ld.C_NO,:old.CNT_EVAL,:old.MATERIAL,:old.WGT_UNIT,cSOURCEDB,'L',m_TXDAT,m_T"
"XTM,'N');"
""
"exception"
"when others then"
"raise_application_error(-20102,'** INSERT(L) TX_TRAND ERROR **');"
"--put ('** INSERT(L) TX_TRAND ERROR -->' ||sqlcode||sqlerrm);"
"END pTRAND_L; "
""
"PROCEDURE pTRAND_N IS"
"BEGIN"
""
"SELECT TO_CHAR(sysdate,'YYYY')||TO_CHAR(sysdate,'MM')||TO_CHAR(sysdate,'DD'"
") into m_TXDAT FROM dual;"
"SELECT TO_CHAR(SYSDATE,'hh24miss')||'00' INTO m_TXTM FROM dual;"
"SELECT sys_context('userenv','current_user') INTO cSOURCEDB FROM dual;"
""
"INSERT INTO TX_TRAND(NUM_TRAM,LIN_TRAM,NUM_REQS,LIN_REQS,NUM_BUY,LIN_BUY,CO"
"D_ITEM,QTY_TRAND,FACT_TRNS,CNT_NOTEP,C_NO,CNT_EVAL,MATERIAL,WGT_UNIT,SOURCE"
"DB,NL,TXDAT,TXTM,TRMK) "
"VALUES(:new.NUM_TRAM,:new.LIN_TRAM,:new.NUM_REQS,:new.LIN_REQS,:new.NUM_BUY"
",:new.LIN_BUY,:new.COD_ITEM,:new.QTY_TRAND,:new.FACT_TRNS,:new.CNT_NOTEP,:n"
"ew.C_NO,:new.CNT_EVAL,:new.MATERIAL,:new.WGT_UNIT,cSOURCEDB,'N',m_TXDAT,m_T"
"XTM,'N');"
""
"exception"
"when others then"
"raise_application_error(-20102,'** INSERT(N) TX_TRAND ERROR **');"
"--put ('** INSERT(N) TX_TRAND ERROR -->' ||sqlcode||sqlerrm);"
"END pTRAND_N; "
""
""
"BEGIN "
""
"cNUM_TRAM := ''; "
"cLIN_TRAM := ''; "
"cNUM_REQS := ''; "
"cLIN_REQS := ''; "
"cNUM_BUY := ''; "
"cLIN_BUY := ''; "
"cCOD_ITEM := ''; "
"cQTY_TRAND := ''; "
"cFACT_TRNS := ''; "
"cCNT_NOTEP := ''; "
"cC_NO := ''; "
"cCNT_EVAL := ''; "
"cMATERIAL := ''; "
"cWGT_UNIT := ''; "
"cSOURCEDB := ''; "
""
"IF DELETING OR UPDATING THEN "
"pTRAND_L; -- INSERT TX_TRAND(?INSERT L???)"
"END IF; "
"IF INSERTING OR UPDATING THEN "
"pTRAND_N; -- INSERT TX_TRAND(?INSERT N???)"
"END IF; "
""
"END;"
IMP-00041: 警告: 完成物件的建立, 但編譯結果含有警告
"CREATE TRIGGER "MFTEST"."X_TRANM" AFTER DELETE OR INSERT OR UPDATE OF NUM_T"
"RAM,LIN_TRAM,DAT_CLOS,DEL_DRES,END_PORT,NUM_BOAT,SND_FACT,REMARK ON TRANM F"
"OR EACH ROW "
""
"DECLARE "
""
"cNUM_TRAM TRANM.NUM_TRAM%TYPE; "
"cLIN_TRAM TRANM.LIN_TRAM%TYPE;"
"cDAT_CLOS TRANM.DAT_CLOS%TYPE;"
"cDEL_DRES TRANM.DEL_DRES%TYPE;"
"cEND_PORT TRANM.END_PORT%TYPE;"
"cNUM_BOAT TRANM.NUM_BOAT%TYPE;"
"cSND_FACT TRANM.SND_FACT%TYPE;"
"cREMARK TRANM.REMARK%TYPE; "
"cSOURCEDB VARCHAR2(20); "
""
"m_TXDAT VARCHAR2(10);"
"m_TXTM VARCHAR2(10);"
""
""
"PROCEDURE pTRANM_L IS"
"BEGIN"
""
"SELECT TO_CHAR(sysdate,'YYYY')||TO_CHAR(sysdate,'MM')||TO_CHAR(sysdate,'DD'"
") into m_TXDAT FROM dual;"
"SELECT TO_CHAR(SYSDATE,'hh24miss')||'00' INTO m_TXTM FROM dual;"
"SELECT sys_context('userenv','current_user') INTO cSOURCEDB FROM dual;"
""
"INSERT INTO TX_TRANM(NUM_TRAM,LIN_TRAM,DAT_CLOS,DEL_DRES,END_PORT,NUM_BOAT,"
"SND_FACT,REMARK,SOURCEDB,NL,TXDAT,TXTM,TRMK) "
"VALUES(:old.NUM_TRAM,:old.LIN_TRAM,:old.DAT_CLOS,:old.DEL_DRES,:old.END_POR"
"T,:old.NUM_BOAT,:old.SND_FACT,:old.REMARK,cSOURCEDB,'L',m_TXDAT,m_TXTM,'N')"
";"
""
"exception"
"when others then"
"raise_application_error(-20102,'** INSERT(L) TX_TRANM ERROR **');"
"--put ('** INSERT(L) TX_TRANM ERROR -->' ||sqlcode||sqlerrm);"
"END pTRANM_L; "
""
"PROCEDURE pTRANM_N IS"
"BEGIN"
""
"SELECT TO_CHAR(sysdate,'YYYY')||TO_CHAR(sysdate,'MM')||TO_CHAR(sysdate,'DD'"
") into m_TXDAT FROM dual;"
"SELECT TO_CHAR(SYSDATE,'hh24miss')||'00' INTO m_TXTM FROM dual;"
"SELECT sys_context('userenv','current_user') INTO cSOURCEDB FROM dual;"
""
"INSERT INTO TX_TRANM(NUM_TRAM,LIN_TRAM,DAT_CLOS,DEL_DRES,END_PORT,NUM_BOAT,"
"SND_FACT,REMARK,SOURCEDB,NL,TXDAT,TXTM,TRMK) "
"VALUES(:new.NUM_TRAM,:new.LIN_TRAM,:new.DAT_CLOS,:new.DEL_DRES,:new.END_POR"
"T,:new.NUM_BOAT,:new.SND_FACT,:new.REMARK,cSOURCEDB,'N',m_TXDAT,m_TXTM,'N')"
";"
""
"exception"
"when others then"
"raise_application_error(-20102,'** INSERT(N) TX_TRANM ERROR **');"
"--put ('** INSERT(N) TX_TRANM ERROR -->' ||sqlcode||sqlerrm);"
"END pTRANM_N; "
""
""
"BEGIN "
""
"cNUM_TRAM := ''; "
"cLIN_TRAM := ''; "
"cDAT_CLOS := ''; "
"cDEL_DRES := ''; "
"cEND_PORT := ''; "
"cNUM_BOAT := ''; "
"cSND_FACT := ''; "
"cREMARK := ''; "
"cSOURCEDB := ''; "
""
"IF DELETING OR UPDATING THEN "
"pTRANM_L; -- INSERT TX_TRANM(?INSERT L???)"
"END IF; "
"IF INSERTING OR UPDATING THEN "
"pTRANM_N; -- INSERT TX_TRANM(?INSERT N???)"
"END IF; "
""
"END;"
已順利終止匯入作業, 但含有警告.


請問一下該如何查修呢?這是MFTEST 使用者的問題嗎?還是編碼?或是其他系統版本的問題

謝謝幫忙!




搜尋相關Tags的文章: [ oracle ] , [ import ] , [ export ] ,
本篇文章發表於2013-08-07 15:50
1樓
回應

花旗蔘
檢舉此回應
mftest user下是不是有重覆的資料,清掉data 再重匯 試試!!
本篇文章回覆於2013-08-07 16:20
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔--
2樓
作者回應

小島上的男人
檢舉此回應
Hi 版主大大

我已經將所有我建的使用者與table 都砍掉重新建立了

但是我在下下面指令時


REM CREATE TABLE "MFTEST"."ACARD" ("NUM_CARD" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(10), "DAT_PO" VARCHAR2(8), "NUM_PO"
REM VARCHAR2(16), "NUM_LINE" VARCHAR2(3), "COD_ITEM" VARCHAR2(20),
REM "COD_DPT" VARCHAR2(8), "TPY_ACARD" VARCHAR2(3), "DAT_CBEG"
REM VARCHAR2(8), "DAT_CEND" VARCHAR2(8), "NAM_CUST" VARCHAR2(100),
REM "ADD_REG" VARCHAR2(200), "NUM_TEL" VARCHAR2(25), "EMAIL"
REM VARCHAR2(100), "NUM_TCKETB" VARCHAR2(25), "COD_MAKR" VARCHAR2(10),
REM "REMARK" VARCHAR2(600), "DAT_INS" VARCHAR2(8), "EMP_INS" VARCHAR2(8),
REM "DAT_UPD" VARCHAR2(8), "EMP_UPD" VARCHAR2(8), "NUM_SER" VARCHAR2(30),
REM "COD_MODL" VARCHAR2(15), "NUM_MOB" VARCHAR2(25), "COD_SEX"
REM VARCHAR2(1), "PS1" VARCHAR2(20), "PS2" VARCHAR2(20), "PS_N1"
REM NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "POS_DEL" VARCHAR2(8),
REM "USE_CUST" VARCHAR2(10), "USE_CDPT" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ACARD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ACARD" MODIFY ("PS_N2" DEFAULT 0) ;
CONNECT MFTEST;
CREATE UNIQUE INDEX "MFTEST"."PK_ACARD" ON "ACARD" ("NUM_CARD" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ACARD" ADD CONSTRAINT "PK_ACARD" PRIMARY KEY
REM ("NUM_CARD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ADJTMP" ("NUM_ADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "NO_SER" VARCHAR2(6) NOT NULL ENABLE, "COD_LOC" VARCHAR2(10),
REM "COD_ITEM" VARCHAR2(20), "COD_QC" VARCHAR2(2), "UNT_STK" VARCHAR2(3),
REM "QTY_STK" NUMBER(8, 0), "QTY_ADJ" NUMBER(8, 0), "PRS_ADJ" NUMBER(14,
REM 4), "COD_ADJ" VARCHAR2(2), "COD_EMPL" VARCHAR2(8), "DAT_ADJ"
REM VARCHAR2(8), "TIM_ADJ" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ADJTMP" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ADJTMP" MODIFY ("QTY_ADJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ADJTMP" MODIFY ("PRS_ADJ" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ADJTMP" ON "ADJTMP" ("NUM_ADJ" , "NO_SER"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ADJTMP" ADD CONSTRAINT "PK_ADJTMP" PRIMARY KEY
REM ("NUM_ADJ", "NO_SER") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."AGP06" ("COD_APPL" VARCHAR2(10) NOT NULL
REM ENABLE, "LEV" VARCHAR2(2), "LEV_NAME" VARCHAR2(20) NOT NULL ENABLE,
REM "ITEM" VARCHAR2(2) NOT NULL ENABLE, "NAME_1" VARCHAR2(45), "NAME_2"
REM VARCHAR2(45), "NAME_3" VARCHAR2(45), "NAM2_VAL" NUMBER(17, 2),
REM "NAM3_VAL" NUMBER(17, 2), "ITEM_VAL" NUMBER(17, 2), "GOOD_VAL"
REM VARCHAR2(4), "REMARK" VARCHAR2(40)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."AGP06" MODIFY ("NAM2_VAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AGP06" MODIFY ("NAM3_VAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AGP06" MODIFY ("ITEM_VAL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_AGP06" ON "AGP06" ("COD_APPL" ,
"LEV_NAME" , "ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."AGP06" ADD CONSTRAINT "PK_AGP06" PRIMARY KEY
REM ("COD_APPL", "LEV_NAME", "ITEM") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."APLD" ("NUM_APLY" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_APLY" VARCHAR2(3) NOT NULL ENABLE, "DAT_NEED"
REM VARCHAR2(16), "COD_ITEM" VARCHAR2(20), "QTY_APLY" NUMBER(12, 3),
REM "UNT_APLY" VARCHAR2(3), "QTY_SEND" NUMBER(12, 3), "STS_APLY"
REM VARCHAR2(2), "DAT_PROC" VARCHAR2(8), "EMP_PROC" VARCHAR2(8),
REM "TIM_NEED" VARCHAR2(6), "DPT_NEED" VARCHAR2(8), "QTY_PAND" NUMBER(12,
REM 3), "REMARK" VARCHAR2(40), "COD_QC" VARCHAR2(2), "USE_RPMT"
REM VARCHAR2(1), "QTY_NEED" NUMBER(12, 3), "DAT_CANCEL" VARCHAR2(8),
REM "REMARK2" VARCHAR2(40), "EMP_CANCEL" VARCHAR2(8), "RSN_CANCEL"
REM VARCHAR2(100), "NUM_RTNM" VARCHAR2(12), "LIN_RTND" VARCHAR2(3),
REM "DPT_CTL" VARCHAR2(8), "QTY_CARM" NUMBER(11, 3), "STS_MRPL"
REM VARCHAR2(1), "COD_MITEM" VARCHAR2(20), "CON_NUMC" VARCHAR2(12),
REM "HUR_NEED" VARCHAR2(6), "EMP_SEND" VARCHAR2(8), "NUM_REQ"
REM VARCHAR2(12), "LIN_REQ" VARCHAR2(3), "CON_ITEM" VARCHAR2(30),
REM "NUM_CASE" VARCHAR2(16), "PS3" VARCHAR2(60), "YN_FULLQ" VARCHAR2(1),
REM "NUM_MERGE" VARCHAR2(12), "LEV_URG" VARCHAR2(2), "CLS_TRN"
REM VARCHAR2(2), "NUM_FROM" VARCHAR2(16), "LIN_FROM" VARCHAR2(4),
REM "COD_ITEMS" VARCHAR2(20), "SER_PCS" VARCHAR2(20), "COD_ACCB"
REM VARCHAR2(10), "DAT_INS" VARCHAR2(8), "UID_UPD" VARCHAR2(8), "DAT_UPD"
REM VARCHAR2(8), "COD_ITEMO" VARCHAR2(20), "PRSTRCD" VARCHAR2(60),
REM "PRST_PS" VARCHAR2(60), "QTY_BUYP" NUMBER(11, 3), "UNT_BUYP"
REM VARCHAR2(3), "DAT_SYNC" VARCHAR2(8), "NUM_PPAR" VARCHAR2(12)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 4194304
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."APLD" MODIFY ("QTY_APLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLD" MODIFY ("QTY_SEND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLD" MODIFY ("QTY_PAND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLD" MODIFY ("QTY_NEED" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLD" MODIFY ("DAT_INS" DEFAULT
REM TO_CHAR(SYSDATE,'YYYYMMDD')) ;
REM ALTER TABLE "MFTEST"."APLD" MODIFY ("QTY_BUYP" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IND1_APLD" ON "APLD" ("COD_ITEM" , "STS_APLY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 720896 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND2_APLD" ON "APLD" ("DAT_NEED" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 917504 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND3_APLD" ON "APLD" ("STS_APLY" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 393216 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_APLD" ON "APLD" ("NUM_APLY" , "LIN_APLY"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 524288 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."APLD" ADD CONSTRAINT "PK_APLD" PRIMARY KEY
REM ("NUM_APLY", "LIN_APLY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 524288 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."APLDB" ("NUM_APLY" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_APLY" VARCHAR2(3) NOT NULL ENABLE, "QTY_APLY" NUMBER(12,
REM 3), "DAT_APLY" VARCHAR2(8), "COD_CUST" VARCHAR2(13), "DPT_CUST"
REM VARCHAR2(8), "NUM_RTNM" VARCHAR2(12), "LIN_RTND" VARCHAR2(3),
REM "QTY_RTND" NUMBER(12, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."APLDB" MODIFY ("QTY_APLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLDB" MODIFY ("QTY_RTND" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_APLDB" ON "APLDB" ("NUM_APLY" ,
"LIN_APLY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."APLDB" ADD CONSTRAINT "PK_APLDB" PRIMARY KEY
REM ("NUM_APLY", "LIN_APLY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."APLDY" ("DAT_APLDY" VARCHAR2(8) NOT NULL
REM ENABLE, "NUM_APLY" VARCHAR2(16) NOT NULL ENABLE, "LIN_APLY"
REM VARCHAR2(3) NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20), "NUM_PS"
REM VARCHAR2(12), "NUM_OLD" VARCHAR2(16), "LIN_OLD" VARCHAR2(3),
REM "DPT_NEED" VARCHAR2(8), "DAT_NEED" VARCHAR2(8), "QTY_APLY" NUMBER(12,
REM 3), "QTY_OWE" NUMBER(12, 3), "DAT_MRP" VARCHAR2(16), "COD_FACT"
REM VARCHAR2(10), "CLS_TRN" VARCHAR2(2), "NUM_TRN" VARCHAR2(16),
REM "LIN_TRN" VARCHAR2(3), "CLS_GET" VARCHAR2(1), "QTY_MRPL" NUMBER(12,
REM 3), "QTY_SHAR" NUMBER(12, 3), "SEQ_ITEM" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_CUST" VARCHAR2(13) NOT NULL ENABLE, "CLS_TRNO" VARCHAR2(2),
REM "NUM_OUT" VARCHAR2(12), "LIN_OUT" VARCHAR2(3), "DPT_CTL" VARCHAR2(8),
REM "NUM_MRPL" VARCHAR2(12), "NUM_PSFRM" VARCHAR2(12)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."APLDY" MODIFY ("QTY_APLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLDY" MODIFY ("QTY_OWE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLDY" MODIFY ("QTY_MRPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLDY" MODIFY ("QTY_SHAR" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_APLDY" ON "APLDY" ("DAT_APLDY" , "NUM_APLY" ,
"LIN_APLY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_APLDY" ON "APLDY" ("DAT_APLDY" ,
"COD_CUST" , "NUM_APLY" , "LIN_APLY" , "SEQ_ITEM" , "COD_ITEM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."APLDY" ADD CONSTRAINT "PK_APLDY" PRIMARY KEY
REM ("DAT_APLDY", "COD_CUST", "NUM_APLY", "LIN_APLY", "SEQ_ITEM",
REM "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."APLY" ("NUM_APLY" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_APLY" VARCHAR2(8), "DPT_APLY" VARCHAR2(8), "EMP_APLY"
REM VARCHAR2(8), "COD_APLY" VARCHAR2(2), "CLS_GET" VARCHAR2(1), "NUM_PS"
REM VARCHAR2(12), "NUM_OLD" VARCHAR2(16), "LIN_OLD" VARCHAR2(3),
REM "COD_CUST" VARCHAR2(13), "REMARK" VARCHAR2(200), "EMP_KEYIN"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "LIN_PS" VARCHAR2(2), "DPT_CTL"
REM VARCHAR2(8), "DPT_CUST" VARCHAR2(8), "NUM_BOMC" VARCHAR2(12),
REM "NAM_ATTN" VARCHAR2(30), "COD_XFER" VARCHAR2(2), "UID_UPD"
REM VARCHAR2(8), "DAT_UPD" VARCHAR2(8), "UPD_UPD" VARCHAR2(8), "PS1"
REM VARCHAR2(200), "NUM_WAY" VARCHAR2(12), "PS_N1" NUMBER(11, 3),
REM "CNT_MARK" NUMBER(4, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 1048576 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."APLY" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."APLY" MODIFY ("CNT_MARK" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX3_APLY" ON "APLY" ("NUM_OLD" , "LIN_OLD" ,
"DAT_APLY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_APLY" ON "APLY" ("NUM_PS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_APLY" ON "APLY" ("DAT_APLY" , "DPT_APLY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_APLY" ON "APLY" ("NUM_BOMC" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_APLY" ON "APLY" ("NUM_APLY" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."APLY" ADD CONSTRAINT "PK_APLY" PRIMARY KEY
REM ("NUM_APLY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."AQLB" ("TYP_AQL" VARCHAR2(3) NOT NULL ENABLE,
REM "STD_AQL" VARCHAR2(2) NOT NULL ENABLE, "NUM_OP" VARCHAR2(3) NOT NULL
REM ENABLE, "NUM_AQL" VARCHAR2(12), "VAL_AQL" NUMBER(8, 3), "VAL_AQL2"
REM NUMBER(8, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."AQLB" MODIFY ("VAL_AQL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLB" MODIFY ("VAL_AQL2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_AQLB" ON "AQLB" ("TYP_AQL" , "STD_AQL" ,
"NUM_OP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."AQLB" ADD CONSTRAINT "PK_AQLB" PRIMARY KEY
REM ("TYP_AQL", "STD_AQL", "NUM_OP") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."AQLM" ("NUM_AQL" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_AQL" VARCHAR2(3) NOT NULL ENABLE, "QTY_AQLB" NUMBER(11, 3),
REM "QTY_AQLE" NUMBER(11, 3), "QTY_SAMP" NUMBER(11, 3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."AQLM" MODIFY ("QTY_AQLB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLM" MODIFY ("QTY_AQLE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLM" MODIFY ("QTY_SAMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_AQLM" ON "AQLM" ("NUM_AQL" , "LIN_AQL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."AQLM" ADD CONSTRAINT "PK_AQLM" PRIMARY KEY
REM ("NUM_AQL", "LIN_AQL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."AQLR" ("NUM_AQL" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_AQLR" VARCHAR2(3) NOT NULL ENABLE, "VAL_AQL" NUMBER(8, 3),
REM "QTY_SAMP" NUMBER(11, 3), "QTY_ACP" NUMBER(11, 3), "QTY_REJ"
REM NUMBER(11, 3), "QTY_SAMPE" NUMBER(11, 3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."AQLR" MODIFY ("VAL_AQL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLR" MODIFY ("QTY_SAMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLR" MODIFY ("QTY_ACP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLR" MODIFY ("QTY_REJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."AQLR" MODIFY ("QTY_SAMPE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_AQLR" ON "AQLR" ("NUM_AQL" , "LIN_AQLR" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."AQLR" ADD CONSTRAINT "PK_AQLR" PRIMARY KEY
REM ("NUM_AQL", "LIN_AQLR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ARCSB" ("MON_BEG" VARCHAR2(6) NOT NULL ENABLE,
REM "COD_CUST" VARCHAR2(10) NOT NULL ENABLE, "COD_DOLA" VARCHAR2(3) NOT
REM NULL ENABLE, "MNY_AR" NUMBER(13, 4), "EMP_LST" VARCHAR2(8), "DAT_LST"
REM VARCHAR2(8), "STS_ARCSB" VARCHAR2(2), "VAL_RATE" NUMBER(8, 4),
REM "TYP_BEG" VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ARCSB" MODIFY ("MNY_AR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARCSB" MODIFY ("VAL_RATE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ARCSB" ON "ARCSB" ("TYP_BEG" , "MON_BEG"
, "COD_CUST" , "COD_DOLA" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ARCSB" ADD CONSTRAINT "PK_ARCSB" PRIMARY KEY
REM ("TYP_BEG", "MON_BEG", "COD_CUST", "COD_DOLA") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ARMD" ("NUM_ARMM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_ARMD" VARCHAR2(3) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10), "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3), "COD_ITEM"
REM VARCHAR2(20), "QTY_REQ" NUMBER(11, 3), "QTY_DISC" NUMBER(11, 3),
REM "MNY_UNIT" NUMBER(14, 5), "NUM_BUY" VARCHAR2(12), "DAT_DEL"
REM VARCHAR2(8), "COD_FACT" VARCHAR2(10), "NUM_DEL" VARCHAR2(16),
REM "LIN_DEL" VARCHAR2(3), "MNY_AMT" NUMBER(14, 4), "MNY_RCV" NUMBER(14,
REM 4), "STS_LINE" VARCHAR2(2), "REMARK" VARCHAR2(2000), "NUM_SHAR"
REM VARCHAR2(12), "CAN_AUTO" VARCHAR2(1), "AMT_TAX" NUMBER(14, 4),
REM "NUM_TCKET" VARCHAR2(25), "DAT_TCKET" VARCHAR2(8), "NUM_QC"
REM VARCHAR2(12), "DPT_FACT" VARCHAR2(8), "EMP_BELON" VARCHAR2(8),
REM "NUM_SALM" VARCHAR2(18), "LIN_SALG" VARCHAR2(3), "COD_ITEMO"
REM VARCHAR2(30), "DAT_RTN" VARCHAR2(8), "MNY_AMTNT" NUMBER(14, 4),
REM "AMT_TOTNT" NUMBER(14, 4), "NUM_RTN" VARCHAR2(12), "LIN_RTN"
REM VARCHAR2(5), "CLS_ARMM" VARCHAR2(3), "MNY_COST" NUMBER(17, 4),
REM "PRS_COST" NUMBER(15, 5), "NUM_CASE" VARCHAR2(16), "DIS_COND"
REM VARCHAR2(1), "EMP_CLOSE" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "QTY_POC" NUMBER(14, 6), "UNT_POC" VARCHAR2(3), "PRS_POC" NUMBER(16,
REM 7), "COD_UNIT" VARCHAR2(3), "EMP_CONF" VARCHAR2(8), "DAT_CONF"
REM VARCHAR2(8), "COD_ADDR" VARCHAR2(8), "MNY_RCVNT" NUMBER(17, 4),
REM "PS_ADJ" VARCHAR2(1), "DAT_QC" VARCHAR2(8), "NUM_INVM" VARCHAR2(20),
REM "NUM_DISM" VARCHAR2(12), "PS_N3" NUMBER(17, 4), "PS_N4" NUMBER(17,
REM 4), "PS_N5" NUMBER(17, 4), "PS_N6" NUMBER(17, 4), "DAT_AROFF"
REM VARCHAR2(8), "DAT_PAYM" VARCHAR2(8), "TAX_TYPE" VARCHAR2(2),
REM "DAT_PRPAD" VARCHAR2(8), "PS1" VARCHAR2(40), "BLN_D2" NUMBER(17, 4),
REM "BLN_D2NT" NUMBER(17, 4), "DPT_AR" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 41943040 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("QTY_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("MNY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("CAN_AUTO" DEFAULT 'Y') ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("MNY_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("PRS_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("QTY_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("PRS_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("MNY_RCVNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("PS_N5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("PS_N6" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("BLN_D2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMD" MODIFY ("BLN_D2NT" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX9_ARMD" ON "ARMD" ("NUM_RTN" , "LIN_RTN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX10_ARMD" ON "ARMD" ("NUM_SALM" , "LIN_SALG" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX8_ARMD" ON "ARMD" ("COD_CUST" , "STS_LINE" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_ARMD" ON "ARMD" ("COD_CUST" , "NUM_PO" ,
"LIN_PO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX5_ARMD" ON "ARMD" ("DAT_DEL" , "EMP_BELON" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX6_ARMD" ON "ARMD" ("DAT_RTN" , "EMP_BELON" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_ARMD" ON "ARMD" ("NUM_DEL" , "LIN_DEL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_ARMD" ON "ARMD" ("EMP_BELON" , "DAT_DEL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ARMD" ON "ARMD" ("DAT_TCKET" , "NUM_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX7_ARMD" ON "ARMD" ("NUM_TCKET" , "DAT_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ARMD" ON "ARMD" ("NUM_ARMM" , "LIN_ARMD"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX11_ARMD" ON "ARMD" ("COD_ITEM" , "COD_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX12_ARMD" ON "ARMD" ("COD_ITEM" , "DAT_PRPAD" ,
"NUM_RTN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX13_ARMD" ON "ARMD" ("STS_LINE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX14_ARMD" ON "ARMD" ("NUM_DISM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ARMD" ADD CONSTRAINT "PK_ARMD" PRIMARY KEY
REM ("NUM_ARMM", "LIN_ARMD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ARMM" ("NUM_ARMM" VARCHAR2(12) NOT NULL
REM ENABLE, "CLS_ARMM" VARCHAR2(3), "DAT_ARMM" VARCHAR2(8), "DAT_BRTH"
REM VARCHAR2(8), "CLS_TCKET" VARCHAR2(2), "NUM_TCKET" VARCHAR2(25),
REM "DAT_TCKET" VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "COD_CUST"
REM VARCHAR2(10), "MNY_AMT" NUMBER(14, 4), "MNY_ARMM" NUMBER(14, 4),
REM "MNY_RCV" NUMBER(14, 4), "STS_LINE" VARCHAR2(2), "DAT_APPLY"
REM VARCHAR2(8), "COD_DOLA" VARCHAR2(3), "VAL_RATE" NUMBER(9, 4),
REM "MNY_ARMMNT" NUMBER(14, 4), "MNY_AMTNT" NUMBER(14, 4), "COD_DEP"
REM VARCHAR2(8), "COD_ACC" VARCHAR2(10), "NUM_PROD" VARCHAR2(12),
REM "SEQ_ITM" NUMBER(4, 0), "AMT_TAX" NUMBER(14, 4), "EMP_KEYIN"
REM VARCHAR2(8), "REMARK" VARCHAR2(100), "COD_PAYM" VARCHAR2(2),
REM "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "DAT_CSMON"
REM VARCHAR2(8), "EMP_CLOSE" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "MNY_RCVNT" NUMBER(17, 4), "NUM_CNTL" VARCHAR2(16), "PS_INV"
REM VARCHAR2(100), "DAT_2RECV" VARCHAR2(8), "DPT_CTL" VARCHAR2(8),
REM "DTM_KEYIN" VARCHAR2(16), "EMP_TRN" VARCHAR2(8), "DTM_TRN"
REM VARCHAR2(16), "PS_N1" NUMBER(14, 4), "DAT_SYNC" VARCHAR2(8),
REM "STS_NDLAY" VARCHAR2(1), "DSC_NDLAY" VARCHAR2(200)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("MNY_ARMM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("MNY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("MNY_ARMMNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("SEQ_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("MNY_RCVNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARMM" MODIFY ("PS_N1" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX3_ARMM" ON "ARMM" ("NUM_PROD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 327680 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_ARMM" ON "ARMM" ("DAT_BRTH" , "COD_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 393216 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX5_ARMM" ON "ARMM" ("NUM_TCKET" , "DAT_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 458752 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ARMM" ON "ARMM" ("NUM_ARMM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX6_ARMM" ON "ARMM" ("DAT_BRTH" , "COD_DEP" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 393216 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ARMM" ON "ARMM" ("COD_CUST" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_ARMM" ON "ARMM" ("DAT_TCKET" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ARMM" ADD CONSTRAINT "PK_ARMM" PRIMARY KEY
REM ("NUM_ARMM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ARPS" ("NUM_ARPS" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_ARMM" VARCHAR2(12), "LIN_ARMD" VARCHAR2(3), "DAT_ARPS"
REM VARCHAR2(8), "TIM_ARPS" VARCHAR2(4), "EMP_ARPS" VARCHAR2(8),
REM "QC_ARPS" VARCHAR2(1), "DAT_ARQC" VARCHAR2(8), "ATTN_ARPS"
REM VARCHAR2(25), "TEL_ATTN" VARCHAR2(25), "REMARK" VARCHAR2(2000),
REM "STS_ARPS" VARCHAR2(3), "DSC_QC" VARCHAR2(60)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ARPS" ON "ARPS" ("NUM_ARPS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ARPS" ON "ARPS" ("NUM_ARMM" , "LIN_ARMD" ,
"DAT_ARPS" , "TIM_ARPS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ARPS" ADD CONSTRAINT "PK_ARPS" PRIMARY KEY
REM ("NUM_ARPS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ARSTT" ("USER_ID" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_AP" VARCHAR2(8) NOT NULL ENABLE, "SEQ_NO" VARCHAR2(50) NOT NULL
REM ENABLE, "COD_KEY1" VARCHAR2(60), "COD_KEY2" VARCHAR2(60), "NVALUE"
REM NUMBER(17, 4), "BL_MON" VARCHAR2(200), "NVALUE2" NUMBER(17, 4),
REM "COD_KEY3" VARCHAR2(60), "COD_KEY4" VARCHAR2(60), "NVALUE3"
REM NUMBER(17, 4), "NVALUE4" NUMBER(17, 4), "REMARK" VARCHAR2(2000),
REM "NVALUE5" NUMBER(17, 4), "COD_KEY5" VARCHAR2(60), "CF1" VARCHAR2(60),
REM "CF2" VARCHAR2(60), "CF3" VARCHAR2(60), "CF4" VARCHAR2(60), "CF5"
REM VARCHAR2(60)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ARSTT" MODIFY ("NVALUE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARSTT" MODIFY ("NVALUE2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARSTT" MODIFY ("NVALUE3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARSTT" MODIFY ("NVALUE4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ARSTT" MODIFY ("NVALUE5" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ARSTT" ON "ARSTT" ("USER_ID" , "COD_AP" ,
"SEQ_NO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 917504
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ARSTT" ADD CONSTRAINT "PK_ARSTT" PRIMARY KEY
REM ("USER_ID", "COD_AP", "SEQ_NO") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 917504 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ASTKM" ("MON_STKM" VARCHAR2(6) NOT NULL
REM ENABLE, "LIN_STKM" NUMBER(6, 0) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20), "COD_QC" VARCHAR2(2), "QTY_STKM" NUMBER(12, 3),
REM "REMARK" VARCHAR2(60), "STS_STKM" VARCHAR2(2), "DPT_CTL" VARCHAR2(8),
REM "COD_LOC" VARCHAR2(10), "DAT_STKM" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ASTKM" MODIFY ("QTY_STKM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ASTKM" ON "ASTKM" ("MON_STKM" ,
"LIN_STKM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ASTKM" ON "ASTKM" ("MON_STKM" , "COD_ITEM" ,
"COD_QC" , "DPT_CTL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ASTKM" ADD CONSTRAINT "PK_ASTKM" PRIMARY KEY
REM ("MON_STKM", "LIN_STKM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."B2BCSV" ("NUM_BCSV" VARCHAR2(14) NOT NULL
REM ENABLE, "TYP_CSV" VARCHAR2(2), "CLS_TRN" VARCHAR2(2), "NUM_TRN"
REM VARCHAR2(12), "LIN_TRN" VARCHAR2(5), "COD_CUST" VARCHAR2(10),
REM "COD_DPT" VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "NAM_CTL" VARCHAR2(20),
REM "DAT_BILL" VARCHAR2(8), "SER_PCS" VARCHAR2(20), "COD_ITEM"
REM VARCHAR2(20), "NAM_ITEMS" VARCHAR2(80), "NO_SEQ" VARCHAR2(30),
REM "QTY_STK" NUMBER(12, 3), "CNT_STK" NUMBER(10, 0), "WGT_PERCNT"
REM NUMBER(12, 3), "DAT_MADE" VARCHAR2(8), "DAT_VALID" VARCHAR2(8),
REM "MS_RATE" NUMBER(18, 2), "LM_RATE" NUMBER(18, 2), "REMARK"
REM VARCHAR2(100), "CSV_FILE" VARCHAR2(30), "DAT_PROC" VARCHAR2(8),
REM "UID_PROC" VARCHAR2(8), "NUM_BATCH" VARCHAR2(20), "CSV_LINE"
REM NUMBER(6, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."B2BCSV" MODIFY ("QTY_STK" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."B2BCSV" MODIFY ("CNT_STK" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."B2BCSV" MODIFY ("WGT_PERCNT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."B2BCSV" MODIFY ("MS_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."B2BCSV" MODIFY ("LM_RATE" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_B2BCSV" ON "B2BCSV" ("NUM_BCSV" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_B2BCSV" ON "B2BCSV" ("TYP_CSV" , "NUM_TRN" ,
"LIN_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."B2BCSV" ADD CONSTRAINT "PK_B2BCSV" PRIMARY KEY
REM ("NUM_BCSV") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BACK" ("NUM_BACK" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_BACK" VARCHAR2(8), "NUM_BROW" VARCHAR2(12), "LIN_BROW"
REM VARCHAR2(3), "COD_ITEM" VARCHAR2(20), "QTY_BACK" NUMBER(11, 3),
REM "PRC_BACK" NUMBER(12, 4), "UNT_BACK" VARCHAR2(3), "EMP_RECV"
REM VARCHAR2(8), "STS_BACK" VARCHAR2(2), "DSP_BACK" VARCHAR2(60),
REM "STS_PROC" VARCHAR2(2), "NUM_CSAL" VARCHAR2(12), "NUM_DEL"
REM VARCHAR2(12), "LIN_DEL" VARCHAR2(3), "QTY_CARM" NUMBER(11, 3),
REM "DAT_CLOSE" VARCHAR2(8), "EMP_CLOSE" VARCHAR2(8), "EMP_MAIL"
REM VARCHAR2(5), "DM_MAIL" VARCHAR2(16), "DAT_LCST" VARCHAR2(8),
REM "EMP_LCST" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "EMP_CONF"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "NUM_BKGP" VARCHAR2(12),
REM "EMP_PROC" VARCHAR2(8), "DSC_PROC" VARCHAR2(200), "LIN_BKGP"
REM VARCHAR2(4), "RSN_BACK" VARCHAR2(2), "EMP_CANCEL" VARCHAR2(8),
REM "DTM_CANCEL" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BACK" MODIFY ("QTY_BACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BACK" MODIFY ("PRC_BACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BACK" MODIFY ("QTY_CARM" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IND1_BACK" ON "BACK" ("NUM_BROW" , "LIN_BROW" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BACK" ON "BACK" ("NUM_BACK" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BACK" ADD CONSTRAINT "PK_BACK" PRIMARY KEY
REM ("NUM_BACK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BCHG" ("NUM_BROW" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BROW" VARCHAR2(3) NOT NULL ENABLE, "SEQ_NO" VARCHAR2(4)
REM NOT NULL ENABLE, "COD_LOCO" VARCHAR2(10), "COD_LOCN" VARCHAR2(10),
REM "COD_ITEM" VARCHAR2(20), "QTY_PRPA" NUMBER(12, 3), "DAT_PRPA"
REM VARCHAR2(8), "TIM_PRPA" VARCHAR2(10), "COD_QC" VARCHAR2(2),
REM "COD_EMPL" VARCHAR2(8), "SER_PCS" VARCHAR2(20), "DAT_EFF"
REM VARCHAR2(8), "REMARK" VARCHAR2(200), "TYP_BCHG" VARCHAR2(2),
REM "COD_QCO" VARCHAR2(2), "QTY_CARM" NUMBER(8, 0), "STS_BCHG"
REM VARCHAR2(2), "NUM_CNTL" VARCHAR2(16), "SER_PCSN" VARCHAR2(20),
REM "NUM_DSC" VARCHAR2(12), "NUM_DSCN" VARCHAR2(12)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BCHG" MODIFY ("QTY_PRPA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCHG" MODIFY ("QTY_CARM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCHG" MODIFY ("STS_BCHG" DEFAULT '00') ;
REM ALTER TABLE "MFTEST"."BCHG" MODIFY ("NUM_DSC" DEFAULT NULL ) ;
REM ALTER TABLE "MFTEST"."BCHG" MODIFY ("NUM_DSCN" DEFAULT NULL ) ;
CREATE INDEX "MFTEST"."IDX1_BCHG" ON "BCHG" ("DAT_PRPA" , "COD_LOCN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BCHG" ON "BCHG" ("TYP_BCHG" , "NUM_BROW"
, "LIN_BROW" , "SEQ_NO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BCHG" ADD CONSTRAINT "PK_BCHG" PRIMARY KEY
REM ("TYP_BCHG", "NUM_BROW", "LIN_BROW", "SEQ_NO") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BCYD" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(12) NOT NULL ENABLE, "SER_BUY" VARCHAR2(6) NOT
REM NULL ENABLE, "LIN_BUY" VARCHAR2(3) NOT NULL ENABLE, "COD_GROP"
REM VARCHAR2(4), "COD_ITEM" VARCHAR2(20), "COD_ITEMF" VARCHAR2(25),
REM "QTY_BUY" NUMBER(11, 3), "UNT_BUY" VARCHAR2(3), "UNT_PRICE"
REM NUMBER(15, 5), "STD_PRICE" NUMBER(15, 5), "UNT_BUYO" VARCHAR2(3),
REM "QTY_BUYO" NUMBER(14, 6), "PRS_BUYO" NUMBER(15, 5), "DAT_REQ"
REM VARCHAR2(12), "TIM_REQ" VARCHAR2(6), "QTY_DEL" NUMBER(11, 3),
REM "QTY_UPLOD" NUMBER(11, 3), "QTY_BACK" NUMBER(11, 3), "COD_XFER"
REM VARCHAR2(2), "COD_ADDR" VARCHAR2(8), "ADR_DEL" VARCHAR2(200),
REM "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25), "MNY_DSC" NUMBER(9,
REM 0), "MNY_TRN" NUMBER(8, 0), "MNY_INSU" NUMBER(8, 0), "MNY_PROC"
REM NUMBER(8, 0), "MNY_OTHS" NUMBER(10, 2), "MNY_AMT" NUMBER(12, 4),
REM "MNY_CTR" NUMBER(8, 0), "UID_CLOSE" VARCHAR2(8), "DAT_CLOSE"
REM VARCHAR2(8), "DSC_PROCA" VARCHAR2(1024), "STS_LINE" VARCHAR2(3),
REM "NUM_REQ" VARCHAR2(12), "LIN_REQ" VARCHAR2(3), "SEQ_BUY" VARCHAR2(3),
REM "COD_RST" VARCHAR2(2), "REMARK" VARCHAR2(2000), "COD_INSU"
REM VARCHAR2(5), "QTY_PLUS" NUMBER(6, 0), "UNT_POR" VARCHAR2(3),
REM "PIC_POR" NUMBER(14, 5), "QTY_POR" NUMBER(11, 3), "AMT_POR"
REM NUMBER(11, 2), "DAT_POR" VARCHAR2(8), "COD_POR" VARCHAR2(2),
REM "DSP_POR" VARCHAR2(50), "NUM_PC" VARCHAR2(10), "COD_PC" VARCHAR2(2),
REM "DSP_PC" VARCHAR2(50), "STS_PC" VARCHAR2(1), "STS_SIGN" VARCHAR2(2),
REM "OLD_DATA" VARCHAR2(2000), "TYP_POLN" VARCHAR2(2), "DAT_NEED"
REM VARCHAR2(16), "DPT_NEED" VARCHAR2(8), "NUM_CASE" VARCHAR2(16),
REM "COD_REQ" VARCHAR2(3), "DPT_CTL" VARCHAR2(8), "DSC_REJ"
REM VARCHAR2(100), "NAM_RCV" VARCHAR2(30), "RCV_TEL" VARCHAR2(25),
REM "SED_CUST" VARCHAR2(13), "COD_FACT" VARCHAR2(10), "STR_ITEM"
REM VARCHAR2(20), "NUM_VER" VARCHAR2(40), "DAT_VER" VARCHAR2(8), "NUM_PS"
REM VARCHAR2(12), "NUM_ORD" VARCHAR2(16), "ROT_ORD" VARCHAR2(3), "PS1"
REM VARCHAR2(60), "PS2" VARCHAR2(60), "PS_N1" NUMBER(14, 3), "PS_ITNAME"
REM VARCHAR2(100), "PS_ITDSC" VARCHAR2(2000), "PS_ITDSC2" VARCHAR2(2000),
REM "PS5" VARCHAR2(20), "PS6" VARCHAR2(20), "PS_N2" NUMBER(15, 4),
REM "PS_N3" NUMBER(15, 4), "PS_N4" NUMBER(15, 4), "PS_N5" NUMBER(15, 4),
REM "NUM_BUYG" VARCHAR2(12), "LIN_BUYG" VARCHAR2(3), "PS_XML1"
REM VARCHAR2(200), "PS_XML2" VARCHAR2(200), "PS_XML3" VARCHAR2(200),
REM "PS_XML4" VARCHAR2(200), "CON_NUMC" VARCHAR2(12), "CON_ITEM"
REM VARCHAR2(30), "LEV_URG" VARCHAR2(2), "DOC_CONM" VARCHAR2(20),
REM "COD_LOC" VARCHAR2(10), "PS3" VARCHAR2(20), "PS4" VARCHAR2(20),
REM "COD_QUT" VARCHAR2(3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 230686720 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("UNT_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("STD_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_BUYO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PRS_BUYO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_UPLOD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_BACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_INSU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_OTHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("MNY_CTR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_PLUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PIC_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("QTY_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("AMT_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYD" MODIFY ("PS_N5" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BCYD" ON "BCYD" ("CLS_GET" , "NUM_BUY" ,
"SER_BUY" , "LIN_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
17825792 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BCYD" ADD CONSTRAINT "PK_BCYD" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY", "SER_BUY", "LIN_BUY") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 17825792 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BCYG" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(12) NOT NULL ENABLE, "SER_BUY" VARCHAR2(3) NOT
REM NULL ENABLE, "LIN_BUY" VARCHAR2(3) NOT NULL ENABLE, "STR_GROUP"
REM VARCHAR2(12), "STR_CLS1" VARCHAR2(4), "STR_CLS2" VARCHAR2(4),
REM "STR_CLS3" VARCHAR2(4), "STR_CLS4" VARCHAR2(4), "STR_CLS5"
REM VARCHAR2(4), "STR_CLS6" VARCHAR2(20), "STR_CLS7" VARCHAR2(4)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BCYG" ON "BCYG" ("CLS_GET" , "NUM_BUY" ,
"SER_BUY" , "LIN_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BCYG" ADD CONSTRAINT "PK_BCYG" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY", "SER_BUY", "LIN_BUY") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BCYM" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(12) NOT NULL ENABLE, "SER_BUY" VARCHAR2(6) NOT
REM NULL ENABLE, "SOR_BUY" VARCHAR2(1), "DAT_BUY" VARCHAR2(8), "COD_FACT"
REM VARCHAR2(10), "COD_ADDR" VARCHAR2(8), "NUM_FACT" VARCHAR2(20),
REM "COD_PAYM" VARCHAR2(3), "CLS_DOLLA" VARCHAR2(3), "TAX_TYPE"
REM VARCHAR2(2), "COD_EMPBUY" VARCHAR2(8), "COD_XFER" VARCHAR2(2),
REM "COD_NEED" VARCHAR2(8), "ADR_DEL" VARCHAR2(200), "DAT_REQ"
REM VARCHAR2(8), "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25),
REM "NUM_FAX" VARCHAR2(25), "AMT_TOT" NUMBER(14, 4), "MNY_DSC" NUMBER(10,
REM 2), "MNY_TRN" NUMBER(10, 2), "MNY_INSU" NUMBER(10, 2), "MNY_PROC"
REM NUMBER(10, 2), "MNY_OTHS" NUMBER(10, 2), "AMT_BUY" NUMBER(14, 4),
REM "COD_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "REMARK"
REM VARCHAR2(2000), "COD_EMPIN" VARCHAR2(8), "COD_EMPCLS" VARCHAR2(8),
REM "DAT_CLOSE" VARCHAR2(8), "NUM_PS" VARCHAR2(12), "NUM_ORD"
REM VARCHAR2(16), "ROT_ORD" VARCHAR2(3), "INS_ALL" VARCHAR2(1), "COD_QUT"
REM VARCHAR2(3), "DSC_DELV" VARCHAR2(2000), "DSC_REJ" VARCHAR2(100),
REM "STS_BUY" VARCHAR2(3), "NUM_EDSM" VARCHAR2(12), "NUM_EDIR"
REM VARCHAR2(10), "DAT_POR" VARCHAR2(8), "COD_POR" VARCHAR2(2), "DSP_POR"
REM VARCHAR2(50), "NUM_CNTL" VARCHAR2(16), "NUM_BUYC" VARCHAR2(10),
REM "DAT_BUYC" VARCHAR2(8), "COD_BUYC" VARCHAR2(2), "DSP_BUYC"
REM VARCHAR2(50), "STS_BUYC" VARCHAR2(2), "STS_SIGN" VARCHAR2(2),
REM "EMP_SIGN" VARCHAR2(8), "OLD_DATA" VARCHAR2(2000), "DPT_CTL"
REM VARCHAR2(8), "EMP_CANCEL" VARCHAR2(8), "DAT_CANCEL" VARCHAR2(8),
REM "VAL_RATE" NUMBER(9, 4), "COD_REQ" VARCHAR2(3), "COD_PAYMT"
REM VARCHAR2(4), "SND_FROM" VARCHAR2(7), "SND_TO" VARCHAR2(7), "REMARK2"
REM VARCHAR2(2000), "ADD_BILL" VARCHAR2(200)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 36700160 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("AMT_TOT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("MNY_INSU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("MNY_OTHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("AMT_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BCYM" MODIFY ("VAL_RATE" DEFAULT 1 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BCYM" ON "BCYM" ("CLS_GET" , "NUM_BUY" ,
"SER_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BCYM" ADD CONSTRAINT "PK_BCYM" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY", "SER_BUY") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BKCASH" ("NUM_CHECK" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_SBANK" VARCHAR2(3), "COD_SBRAN" VARCHAR2(10), "S_ACNO"
REM VARCHAR2(24), "DAT_IN" VARCHAR2(8), "NUM_FROM" VARCHAR2(20),
REM "DAT_ACC" VARCHAR2(8), "DPT_ACC" VARCHAR2(8), "COD_RCV" VARCHAR2(2),
REM "NAM_RCV" VARCHAR2(60), "COD_DOLA" VARCHAR2(3), "VAL_RATE" NUMBER(9,
REM 4), "AMT_PARUS" NUMBER(12, 2), "AMT_PAR" NUMBER(12, 2), "AMT_CHG"
REM NUMBER(12, 2), "STS_BKCASH" VARCHAR2(2), "STS_2ACIO" VARCHAR2(1),
REM "NUM_PROD" VARCHAR2(12), "NUM_BKCASH" VARCHAR2(12), "UID_IMP"
REM VARCHAR2(8), "DAT_IMP" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BKCASH" ON "BKCASH" ("NUM_CHECK" ,
"NUM_BKCASH" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BKCASH" ADD CONSTRAINT "PK_BKCASH" PRIMARY KEY
REM ("NUM_CHECK", "NUM_BKCASH") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BKGP" ("NUM_BKGP" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(13), "DAT_BACK" VARCHAR2(8), "DPT_CTL"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "UID_KEYIN" VARCHAR2(8),
REM "REMARK" VARCHAR2(400), "STS_BKGP" VARCHAR2(2)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BKGP" ON "BKGP" ("NUM_BKGP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BKGP" ADD CONSTRAINT "PK_BKGP" PRIMARY KEY
REM ("NUM_BKGP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOM" ("SN" VARCHAR2(12), "ST" VARCHAR2(2),
REM "PARENT" VARCHAR2(8), "CHILD" VARCHAR2(8), "QUANTITY" VARCHAR2(5))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM CREATE TABLE "MFTEST"."BOMCD" ("NUM_BOMC" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BOMC" VARCHAR2(3) NOT NULL ENABLE, "COD_BOMC"
REM VARCHAR2(2), "COD_ITEMO" VARCHAR2(20), "COD_ITEMN" VARCHAR2(20),
REM "QTY_UMO" NUMBER(13, 7), "QTY_UMN" NUMBER(13, 7), "DAT_UMB"
REM VARCHAR2(8), "TYP_BOMC" VARCHAR2(2), "NUM_OP" VARCHAR2(3), "ROT_ORD"
REM VARCHAR2(2), "STN_WORK" VARCHAR2(8), "HUR_MEN" NUMBER(10, 3),
REM "HUR_FAC" NUMBER(10, 3), "DOC_CONM" VARCHAR2(20), "QTY_ADJ"
REM NUMBER(13, 7), "REMARK" VARCHAR2(300), "POS_ITEMO" VARCHAR2(4000),
REM "POS_ITEMN" VARCHAR2(4000), "POS2BOM" VARCHAR2(1), "CHK_ITEM"
REM VARCHAR2(1), "CHK_TYPE" VARCHAR2(4), "EMP_UCHK" VARCHAR2(8),
REM "DAT_UCHK" VARCHAR2(8), "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4),
REM "PS1" VARCHAR2(2000), "PS2" VARCHAR2(2000), "ITM_SUPY" VARCHAR2(2),
REM "COD_PRD" VARCHAR2(1), "USE_RPMT" VARCHAR2(1), "PS3" VARCHAR2(2000),
REM "PS4" VARCHAR2(2000), "PS5" VARCHAR2(2000), "PS6" VARCHAR2(2000),
REM "STR_GROUPO" VARCHAR2(12), "STR_CLS1O" VARCHAR2(4), "STR_CLS2O"
REM VARCHAR2(4), "STR_CLS3O" VARCHAR2(4), "STR_CLS4O" VARCHAR2(4),
REM "STR_CLS5O" VARCHAR2(4), "STR_CLS6O" VARCHAR2(20), "STR_CLS7O"
REM VARCHAR2(4), "STR_GROUPN" VARCHAR2(12), "STR_CLS1N" VARCHAR2(4),
REM "STR_CLS2N" VARCHAR2(4), "STR_CLS3N" VARCHAR2(4), "STR_CLS4N"
REM VARCHAR2(4), "STR_CLS5N" VARCHAR2(4), "STR_CLS6N" VARCHAR2(20),
REM "STR_CLS7N" VARCHAR2(4), "QTY_NUME" NUMBER(13, 7), "QTY_DENO"
REM NUMBER(13, 7)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BOMCD" MODIFY ("QTY_UMN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BOMCD" MODIFY ("HUR_MEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BOMCD" MODIFY ("HUR_FAC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BOMCD" MODIFY ("QTY_ADJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BOMCD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BOMCD" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOMCD" ON "BOMCD" ("NUM_BOMC" ,
"LIN_BOMC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BOMCD" ADD CONSTRAINT "PK_BOMCD" PRIMARY KEY
REM ("NUM_BOMC", "LIN_BOMC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOMCM" ("NUM_BOMC" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_BOMC" VARCHAR2(8), "COD_ITEM" VARCHAR2(20), "COD_KEYIN"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "STS_BOMC" VARCHAR2(2),
REM "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "SN" VARCHAR2(12),
REM "TIM_INS" VARCHAR2(16), "DAT_CANCEL" VARCHAR2(8), "EMP_CANCEL"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "COD_DESIN" VARCHAR2(8),
REM "NUM_VER" VARCHAR2(40), "GRP_BOMC" VARCHAR2(12)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BOMCM" MODIFY ("TIM_INS" DEFAULT
REM TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS')) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOMCM" ON "BOMCM" ("NUM_BOMC" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BOMCM" ADD CONSTRAINT "PK_BOMCM" PRIMARY KEY
REM ("NUM_BOMC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOMCP" ("NUM_BOMC" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BOMC" VARCHAR2(3) NOT NULL ENABLE, "LIN_BOMP"
REM VARCHAR2(3) NOT NULL ENABLE, "CLS_BOMP" VARCHAR2(4), "TYP_BOMP"
REM VARCHAR2(2), "STS_BOMP" VARCHAR2(2), "COD_ITEM" VARCHAR2(20),
REM "NAM_ITEM" VARCHAR2(80), "NAM_ITEMS" VARCHAR2(80), "COD_MODL"
REM VARCHAR2(15), "UNT_STK" VARCHAR2(3), "CLS_ITEM" VARCHAR2(1),
REM "TYP_ITEM" VARCHAR2(4), "CLS_PROD" VARCHAR2(2), "CLS_ACC"
REM VARCHAR2(1), "CLS_GET" VARCHAR2(1), "DSC_ITEM" VARCHAR2(2000),
REM "COD_MAKR" VARCHAR2(10), "COD_VER" VARCHAR2(2), "DAT_VER"
REM VARCHAR2(8), "DAT_USET" VARCHAR2(8), "PIC_ITEM2" VARCHAR2(30),
REM "ECO_CODE" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOMCP" ON "BOMCP" ("NUM_BOMC" ,
"LIN_BOMC" , "LIN_BOMP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BOMCP" ADD CONSTRAINT "PK_BOMCP" PRIMARY KEY
REM ("NUM_BOMC", "LIN_BOMC", "LIN_BOMP") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOMCS" ("NUM_BOMC" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BOMC" VARCHAR2(3) NOT NULL ENABLE, "LIN_BOMS"
REM VARCHAR2(3) NOT NULL ENABLE, "NUM_PS" VARCHAR2(12)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOMCS" ON "BOMCS" ("NUM_BOMC" ,
"LIN_BOMC" , "LIN_BOMS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BOMCS" ADD CONSTRAINT "PK_BOMCS" PRIMARY KEY
REM ("NUM_BOMC", "LIN_BOMC", "LIN_BOMS") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOMCT" ("NUM_BOMC" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BOMC" VARCHAR2(3) NOT NULL ENABLE, "LIN_BOMP"
REM VARCHAR2(3) NOT NULL ENABLE, "LIN_BOMT" VARCHAR2(3) NOT NULL ENABLE,
REM "TYP_BOMT" VARCHAR2(2), "AP_BOMT" VARCHAR2(20), "DPT_RECV"
REM VARCHAR2(8), "EMP_RECT" VARCHAR2(8), "EMP_SEND" VARCHAR2(8),
REM "DAT_SEND" VARCHAR2(8), "STS_BOMT" VARCHAR2(2)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOMCT" ON "BOMCT" ("NUM_BOMC" ,
"LIN_BOMC" , "LIN_BOMP" , "LIN_BOMT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BOMCT" ADD CONSTRAINT "PK_BOMCT" PRIMARY KEY
REM ("NUM_BOMC", "LIN_BOMC", "LIN_BOMP", "LIN_BOMT") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOMTG" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_SEQ" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEMS"
REM VARCHAR2(20), "QTY_SP" NUMBER(13, 7), "REMARK" VARCHAR2(200)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BOMTG" MODIFY ("QTY_SP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOMTG" ON "BOMTG" ("COD_ITEM" , "LIN_SEQ"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BOMTG" ADD CONSTRAINT "PK_BOMTG" PRIMARY KEY
REM ("COD_ITEM", "LIN_SEQ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BONCA" ("NUM_BONCA" VARCHAR2(14) NOT NULL
REM ENABLE, "DTM_BONCA" VARCHAR2(14), "SEQ_BONCA" NUMBER(4, 0),
REM "COD_CUST" VARCHAR2(10), "COD_EXE" VARCHAR2(8), "TYP_BONCA"
REM VARCHAR2(2), "DSC_BONCA" VARCHAR2(2000), "DTM_RECV" VARCHAR2(14),
REM "EMP_RECV" VARCHAR2(8), "DTM_ANSF" VARCHAR2(14), "EMP_ANSF"
REM VARCHAR2(8), "DSC_ANS" VARCHAR2(2000), "DTM_2ONCA" VARCHAR2(14),
REM "EMP_2ONCA" VARCHAR2(8), "DTM_CLOSE" VARCHAR2(14), "EMP_CLOSE"
REM VARCHAR2(8), "STS_BONCA" VARCHAR2(2), "ONCA_LV" VARCHAR2(2),
REM "DSC_TEL" VARCHAR2(100), "EMAIL" VARCHAR2(100), "UID_BONCA"
REM VARCHAR2(8), "EMP_PROC" VARCHAR2(8), "MIN_PROC" NUMBER(3, 0),
REM "NUM_ONCA" VARCHAR2(12), "DTM_CSTEND" VARCHAR2(14), "EMP_CSTEND"
REM VARCHAR2(8), "PM_BONCA" VARCHAR2(8), "DTM_PM" VARCHAR2(16), "SN_TRNM"
REM VARCHAR2(12), "STS_2TECH" VARCHAR2(1), "DTM_RANG" VARCHAR2(10),
REM "PS_FTP" VARCHAR2(2000), "LEV_SRV" VARCHAR2(2), "DSC_SRV"
REM VARCHAR2(200), "LEV_CONT" VARCHAR2(2), "DSC_CONT" VARCHAR2(200),
REM "TYP_ANS" VARCHAR2(2), "TELL_CHARG" VARCHAR2(1), "NUM_ESCH"
REM VARCHAR2(12), "STS_CFBAK" VARCHAR2(2), "TO_KM" VARCHAR2(3),
REM "EMP_WITH" VARCHAR2(8), "DTM_RCHK" VARCHAR2(14), "STS_RCHK"
REM VARCHAR2(2), "RCHK2ANS" VARCHAR2(2000), "NAM_ATTN" VARCHAR2(30),
REM "SND_BONCA" VARCHAR2(1), "HUR_RECV" NUMBER(6, 2), "DSC_RECV"
REM VARCHAR2(200), "MIN_STD" NUMBER(3, 0), "MIN_MENP" NUMBER(3, 0),
REM "DTM_UISEND" VARCHAR2(14), "EMP_UISEND" VARCHAR2(8), "DIF_ONCAB"
REM VARCHAR2(2), "CNT_FREE" NUMBER(6, 0)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BONCA" MODIFY ("SEQ_BONCA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BONCA" MODIFY ("MIN_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BONCA" MODIFY ("HUR_RECV" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BONCA" MODIFY ("MIN_STD" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BONCA" MODIFY ("MIN_MENP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BONCA" MODIFY ("CNT_FREE" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BONCA" ON "BONCA" ("NUM_BONCA" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BONCA" ADD CONSTRAINT "PK_BONCA" PRIMARY KEY
REM ("NUM_BONCA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BONCAP" ("NUM_BONCA" VARCHAR2(14) NOT NULL
REM ENABLE, "LIN_BONCA" VARCHAR2(3) NOT NULL ENABLE, "EMP_ANS"
REM VARCHAR2(8), "DTM_ANS" VARCHAR2(14), "COD_WKHR" VARCHAR2(4),
REM "MIN_PROC" NUMBER(3, 0), "DSC_ANS" VARCHAR2(2000), "FRM_BONCA"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BONCAP" MODIFY ("MIN_PROC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BONCAP" ON "BONCAP" ("NUM_BONCA" ,
"LIN_BONCA" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BONCAP" ADD CONSTRAINT "PK_BONCAP" PRIMARY KEY
REM ("NUM_BONCA", "LIN_BONCA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BOSM" ("MON_BOSM" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_CUST" VARCHAR2(10) NOT NULL ENABLE, "TYP_BOSM" VARCHAR2(2) NOT
REM NULL ENABLE, "QTY_BEG" NUMBER(11, 3), "QTY_ADD" NUMBER(11, 3),
REM "QTY_DEC" NUMBER(11, 3), "QTY_USE" NUMBER(11, 3), "QTY_ADJ"
REM NUMBER(11, 3), "QTY_END" NUMBER(11, 3), "PS1" VARCHAR2(200), "PS2"
REM VARCHAR2(200), "PS_N1" NUMBER(11, 3), "PS_N2" NUMBER(11, 3),
REM "UIS_PROC" VARCHAR2(8), "DAT_PROC" VARCHAR2(8), "UIS_UPD"
REM VARCHAR2(8), "DAT_UPD" VARCHAR2(8), "NUM_PROD" VARCHAR2(12),
REM "NUM_PROD2" VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("QTY_BEG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("QTY_ADD" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("QTY_DEC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("QTY_USE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("QTY_ADJ" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("QTY_END" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BOSM" MODIFY ("PS_N2" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BOSM" ON "BOSM" ("MON_BOSM" , "COD_CUST"
, "TYP_BOSM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BOSM" ADD CONSTRAINT "PK_BOSM" PRIMARY KEY
REM ("MON_BOSM", "COD_CUST", "TYP_BOSM") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BREXD" ("NUM_BEXM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BEXM" VARCHAR2(4) NOT NULL ENABLE, "NUM_BROW"
REM VARCHAR2(12), "LIN_BROW" VARCHAR2(3), "COD_ITEM" VARCHAR2(20),
REM "QTY_BROW" NUMBER(11, 3), "UNT_BROW" VARCHAR2(3), "DAT_BAKO"
REM VARCHAR2(8), "DAT_BAKN" VARCHAR2(8), "REMARK" VARCHAR2(100),
REM "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "DSC_CONF"
REM VARCHAR2(200), "STS_BEXM" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BREXD" ON "BREXD" ("NUM_BEXM" ,
"LIN_BEXM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BREXD" ADD CONSTRAINT "PK_BREXD" PRIMARY KEY
REM ("NUM_BEXM", "LIN_BEXM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BREXM" ("NUM_BEXM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_BEXM" VARCHAR2(8), "COD_EMP" VARCHAR2(8), "RSN_BEXM"
REM VARCHAR2(2), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BREXM" ON "BREXM" ("NUM_BEXM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BREXM" ADD CONSTRAINT "PK_BREXM" PRIMARY KEY
REM ("NUM_BEXM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BROK" ("NUM_BROK" VARCHAR2(12) NOT NULL
REM ENABLE, "CST_FROM" VARCHAR2(8), "NAM_FROM" VARCHAR2(40), "PO_FROM"
REM VARCHAR2(16), "LIN_FROM" VARCHAR2(3), "DAT_PO" VARCHAR2(8),
REM "COD_ITEM" VARCHAR2(20), "COD_CUST" VARCHAR2(8), "COD_DOLA"
REM VARCHAR2(3), "QC_FROM" VARCHAR2(12), "QC_DAT" VARCHAR2(8), "AMT_QC"
REM NUMBER(8, 0), "AMT_BROK" NUMBER(8, 0), "AR_BROK" VARCHAR2(2),
REM "DAT_ARMM" VARCHAR2(8), "VAL_RATE" NUMBER(8, 4), "TAX_TYPE"
REM VARCHAR2(2), "NUM_TCKET" VARCHAR2(25), "DAT_TCKET" VARCHAR2(8),
REM "MNY_TCKET" NUMBER(14, 4), "NUM_ARMM" VARCHAR2(12), "STS_BROK"
REM VARCHAR2(2), "CLS_ARMM" VARCHAR2(3), "REMARK" VARCHAR2(200)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BROK" MODIFY ("AMT_QC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROK" MODIFY ("AMT_BROK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROK" MODIFY ("VAL_RATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROK" MODIFY ("MNY_TCKET" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_BROK" ON "BROK" ("COD_CUST" , "QC_DAT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BROK" ON "BROK" ("NUM_BROK" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BROK" ADD CONSTRAINT "PK_BROK" PRIMARY KEY
REM ("NUM_BROK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BROKD" ("NUM_BROK" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BROK" VARCHAR2(3) NOT NULL ENABLE, "SEQ_BROKD"
REM VARCHAR2(3), "COD_FACT" VARCHAR2(10), "DAT_RCV" VARCHAR2(8),
REM "NUM_RCV" VARCHAR2(12), "LIN_RCV" VARCHAR2(3), "NUM_INVM"
REM VARCHAR2(12), "NUM_GETB" VARCHAR2(14), "VAL_RATE" NUMBER(9, 4),
REM "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3), "COD_ITEMC"
REM VARCHAR2(20), "COD_ITEM" VARCHAR2(20), "COD_UNIT" VARCHAR2(3),
REM "PRS_UNIT" NUMBER(12, 4), "MNY_PO" NUMBER(12, 4), "QTY_REQ"
REM NUMBER(11, 3), "COD_UNITC" VARCHAR2(3), "QTY_REQC" NUMBER(11, 3),
REM "PRS_UNITC" NUMBER(12, 4), "COD_UNITF" VARCHAR2(3), "QTY_REQF"
REM NUMBER(11, 3), "PRS_UNITF" NUMBER(12, 4), "MNY_BROK" NUMBER(14, 4),
REM "MNY_BROKNT" NUMBER(14, 4), "REMARK" VARCHAR2(200), "DAT_PLAN"
REM VARCHAR2(8), "DAT_LC" VARCHAR2(8), "NUM_LC" VARCHAR2(18), "DAT_LCE"
REM VARCHAR2(8), "DAT_LCS" VARCHAR2(8), "DAT_BUY" VARCHAR2(8), "QTY_BUY"
REM NUMBER(11, 3), "MNY_BUY" NUMBER(14, 4)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("PRS_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("MNY_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("QTY_REQC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("PRS_UNITC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("QTY_REQF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("PRS_UNITF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("MNY_BROK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("MNY_BROKNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKD" MODIFY ("MNY_BUY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BROKD" ON "BROKD" ("COD_FACT" , "DAT_RCV"
, "NUM_RCV" , "LIN_RCV" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BROKD" ADD CONSTRAINT "PK_BROKD" PRIMARY KEY
REM ("COD_FACT", "DAT_RCV", "NUM_RCV", "LIN_RCV") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BROKM" ("NUM_BROK" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BROK" VARCHAR2(3) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10), "DAT_RFF" VARCHAR2(12), "NUM_PO" VARCHAR2(16), "LIN_PO"
REM VARCHAR2(3), "COD_DOLA" VARCHAR2(3), "COD_ITEMC" VARCHAR2(20),
REM "COD_ITEM" VARCHAR2(20), "COD_UNIT" VARCHAR2(3), "QTY_REQ" NUMBER(11,
REM 3), "PRS_UNIT" NUMBER(12, 4), "MNY_PO" NUMBER(12, 4), "COD_UNITC"
REM VARCHAR2(3), "QTY_REQC" NUMBER(11, 3), "PRS_UNITC" NUMBER(12, 4),
REM "COD_FACT" VARCHAR2(10), "COD_UNITF" VARCHAR2(3), "QTY_REQF"
REM NUMBER(11, 3), "PRS_UNITF" NUMBER(12, 4), "RAT_BROK" NUMBER(8, 5),
REM "MNY_BROK" NUMBER(14, 4), "REMARK" VARCHAR2(200), "QTY_DEL"
REM NUMBER(11, 3), "STS_BROKM" VARCHAR2(2), "DAT_PLAN" VARCHAR2(8),
REM "DAT_LC" VARCHAR2(8), "NUM_LC" VARCHAR2(18), "DAT_LCE" VARCHAR2(8),
REM "DAT_LCS" VARCHAR2(8), "DAT_BUY" VARCHAR2(8), "QTY_BUY" NUMBER(11,
REM 3), "MNY_BUY" NUMBER(14, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("PRS_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("MNY_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("QTY_REQC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("PRS_UNITC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("QTY_REQF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("PRS_UNITF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("RAT_BROK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("MNY_BROK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROKM" MODIFY ("MNY_BUY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BROKM" ON "BROKM" ("NUM_BROK" ,
"LIN_BROK" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BROKM" ADD CONSTRAINT "PK_BROKM" PRIMARY KEY
REM ("NUM_BROK", "LIN_BROK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BROKR" ("COD_BROKR" VARCHAR2(2) NOT NULL
REM ENABLE, "TYP_ITEM" VARCHAR2(4), "COD_PAY" VARCHAR2(2), "RAT_BROK"
REM NUMBER(8, 5), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BROKR" MODIFY ("RAT_BROK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BROKR" ON "BROKR" ("COD_BROKR" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BROKR" ADD CONSTRAINT "PK_BROKR" PRIMARY KEY
REM ("COD_BROKR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BROM" ("CLS_BP" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BROW" VARCHAR2(12) NOT NULL ENABLE, "DAT_BROW" VARCHAR2(8),
REM "COD_DPT" VARCHAR2(8), "EMP_BROW" VARCHAR2(8), "COD_CUST"
REM VARCHAR2(13), "CLS_BROW" VARCHAR2(2), "DSP_BROM" VARCHAR2(60),
REM "STS_BROM" VARCHAR2(2), "POS_DEL" VARCHAR2(8), "ADDR_DEL"
REM VARCHAR2(200), "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25),
REM "NUM_FAX" VARCHAR2(25), "TYP_FROM" VARCHAR2(2), "NUM_FROM"
REM VARCHAR2(16), "NUM_CNTL" VARCHAR2(16), "COD_FACT" VARCHAR2(10), "PS2"
REM VARCHAR2(300), "DPT_CTL" VARCHAR2(8), "CST_RELAT" VARCHAR2(4),
REM "NUM_WAY" VARCHAR2(12), "PS_N1" NUMBER(11, 3), "DTM_INS"
REM VARCHAR2(16), "PS3" VARCHAR2(100), "PS4" VARCHAR2(100), "PS5"
REM VARCHAR2(100), "PS6" VARCHAR2(100), "PS7" VARCHAR2(300), "CNT_MARK"
REM NUMBER(4, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BROM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROM" MODIFY ("DTM_INS" DEFAULT
REM TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS') ) ;
REM ALTER TABLE "MFTEST"."BROM" MODIFY ("CNT_MARK" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX2_BROM" ON "BROM" ("CLS_BROW" , "EMP_BROW" ,
"DAT_BROW" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_BROM" ON "BROM" ("CLS_BP" , "NUM_BROW"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BROM" ON "BROM" ("NUM_BROW" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_BROM" ON "BROM" ("CLS_BP" , "COD_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_BROM" ON "BROM" ("DPT_CTL" , "CLS_BP" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BROM" ADD CONSTRAINT "PK_BROM" PRIMARY KEY
REM ("NUM_BROW") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BROW" ("CLS_BP" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BROW" VARCHAR2(12) NOT NULL ENABLE, "LIN_BROW" VARCHAR2(3) NOT
REM NULL ENABLE, "COD_ITEM" VARCHAR2(20), "QTY_BROW" NUMBER(11, 3),
REM "PRC_BROW" NUMBER(14, 5), "UNT_BROW" VARCHAR2(3), "DAT_RRTN"
REM VARCHAR2(8), "DAT_ARTN" VARCHAR2(8), "OLD_NUM" VARCHAR2(16),
REM "DSP_BROW" VARCHAR2(60), "STS_BROW" VARCHAR2(2), "CNT_ARTN"
REM NUMBER(11, 3), "CST_BROW" NUMBER(12, 4), "NUM_FROM" VARCHAR2(16),
REM "LIN_FROM" VARCHAR2(5), "QTY_CARM" NUMBER(11, 3), "EMP_LST"
REM VARCHAR2(8), "DAT_LST" VARCHAR2(8), "TIM_LST" VARCHAR2(8), "L_MRP"
REM VARCHAR2(1), "COD_LOCO" VARCHAR2(10), "COD_QC" VARCHAR2(2), "SER_PCS"
REM VARCHAR2(20), "COD_LOCN" VARCHAR2(10), "DPT_CTL" VARCHAR2(8),
REM "EMP_RCVF" VARCHAR2(8), "DAT_RCVF" VARCHAR2(8), "EMP_CANL"
REM VARCHAR2(8), "DAT_CANL" VARCHAR2(8), "QTY_BROWO" NUMBER(11, 3),
REM "EMP_CON2" VARCHAR2(8), "DAT_CON2" VARCHAR2(8), "TYP_FROM"
REM VARCHAR2(2), "DAT_NEED" VARCHAR2(8), "HUR_NEED" VARCHAR2(6),
REM "DAT_PROD" VARCHAR2(8), "NUM_WAY" VARCHAR2(12), "NUM_CASE"
REM VARCHAR2(16), "COD_CUST" VARCHAR2(13), "CNT_BCHG" NUMBER(11, 3),
REM "QTY_BUYP" NUMBER(11, 3), "UNT_BUYP" VARCHAR2(3), "EMP_SEND"
REM VARCHAR2(8), "TYP_CSTM" VARCHAR2(2), "NUM_CARM" VARCHAR2(12),
REM "LIN_CARM" VARCHAR2(4), "COD_DOLA" VARCHAR2(3), "MNY_UNIT" NUMBER(14,
REM 5), "MNY_AMT" NUMBER(13, 4), "COD_XFER" VARCHAR2(2), "NUM_ESTAT"
REM VARCHAR2(16), "MNY_DEPOS" NUMBER(12, 4), "NUM_MNYR" VARCHAR2(12),
REM "PS_1" VARCHAR2(40), "NUM_VER" VARCHAR2(40), "STR_GROUP"
REM VARCHAR2(12), "ITEM_BROW" VARCHAR2(20), "UNT_ITEMB" VARCHAR2(3),
REM "DAY_BROW" NUMBER(4, 0), "DAT_BW2AR" VARCHAR2(8), "TYP_VALU"
REM VARCHAR2(2), "PRS_BROWB" NUMBER(11, 3), "NO_SEQ" VARCHAR2(30),
REM "DOLA_BROWB" VARCHAR2(3), "MNY_RENT" NUMBER(12, 4), "TAX_RENT"
REM VARCHAR2(2), "PS_N1" NUMBER(11, 3), "EMP_CONF" VARCHAR2(8),
REM "DAT_CONF" VARCHAR2(8), "TIM_CONF" VARCHAR2(4), "TIM_CANL"
REM VARCHAR2(4), "TIM_CON2" VARCHAR2(4), "QTY_BACK" NUMBER(11, 3),
REM "NUM_DSC" VARCHAR2(12), "TIM_RCVF" VARCHAR2(4), "QTY_RECV" NUMBER(11,
REM 3), "DSC_RECV" VARCHAR2(100), "DAT_SYNC" VARCHAR2(8), "EMP_CLOSE"
REM VARCHAR2(8), "DTM_CLOSE" VARCHAR2(16), "DSC_CLOSE" VARCHAR2(400),
REM "STS_LOGST" VARCHAR2(2), "QTY_LOGSTO" NUMBER(11, 3), "CNT_STK"
REM NUMBER(10, 0), "DAT_RCVP" VARCHAR2(8), "SER_PCSN" VARCHAR2(20),
REM "STS_2CSV" VARCHAR2(1), "TYP_LEND" VARCHAR2(1), "COD_FACT"
REM VARCHAR2(10), "NUM_RCV" VARCHAR2(12), "LIN_RCV" VARCHAR2(3), "PS_2"
REM VARCHAR2(400), "PS_3" VARCHAR2(400), "PS_4" VARCHAR2(400), "NUM_INVM"
REM VARCHAR2(20), "NUM_PPAR" VARCHAR2(12), "NUM_DLPK" VARCHAR2(12),
REM "C_NO" VARCHAR2(30), "QTY_CNO" NUMBER(11, 3), "QTY_PK" NUMBER(11, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_BROW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("PRC_BROW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("CNT_ARTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("CST_BROW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_CARM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("L_MRP" DEFAULT 'Y') ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_BROWO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("CNT_BCHG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_BUYP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("MNY_DEPOS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("DAY_BROW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("PRS_BROWB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("MNY_RENT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_BACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("NUM_DSC" DEFAULT 'xxxx') ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_RECV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_LOGSTO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("CNT_STK" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_CNO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BROW" MODIFY ("QTY_PK" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IDX2_BROW" ON "BROW" ("CLS_BP" , "COD_ITEM" ,
"STS_BROW" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX3_BROW" ON "BROW" ("TYP_FROM" , "NUM_FROM" ,
"LIN_FROM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_BROW" ON "BROW" ("CLS_BP" , "NUM_BROW"
, "LIN_BROW" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BROW" ON "BROW" ("NUM_BROW" , "LIN_BROW"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_BROW" ON "BROW" ("DAT_NEED" , "STS_BROW" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX5_BROW" ON "BROW" ("STS_BROW" , "COD_LOCO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX6_BROW" ON "BROW" ("STS_LOGST" , "STS_BROW" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BROW" ADD CONSTRAINT "PK_BROW" PRIMARY KEY
REM ("NUM_BROW", "LIN_BROW") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BUYA" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(14) NOT NULL ENABLE, "COD_FACT" VARCHAR2(12) NOT
REM NULL ENABLE, "LIN_QUTA" VARCHAR2(2) NOT NULL ENABLE, "CLS_BEFR"
REM VARCHAR2(3), "CLS_QUTA" VARCHAR2(3), "MNY_QUTA" NUMBER(11, 2),
REM "CLS_AFTR" VARCHAR2(3), "COD_DOLA" VARCHAR2(3), "DSP_PS"
REM VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BUYA" MODIFY ("MNY_QUTA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BUYA" ON "BUYA" ("CLS_GET" , "NUM_BUY" ,
"COD_FACT" , "LIN_QUTA" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BUYA" ADD CONSTRAINT "PK_BUYA" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY", "COD_FACT", "LIN_QUTA") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BUYD" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(12) NOT NULL ENABLE, "LIN_BUY" VARCHAR2(3) NOT
REM NULL ENABLE, "COD_GROP" VARCHAR2(4), "COD_ITEM" VARCHAR2(20),
REM "COD_ITEMF" VARCHAR2(25), "QTY_BUY" NUMBER(11, 3), "UNT_BUY"
REM VARCHAR2(3), "UNT_BUYO" VARCHAR2(3), "QTY_BUYO" NUMBER(14, 6),
REM "UNT_PRICE" NUMBER(15, 5), "DAT_REQ" VARCHAR2(12), "TIM_REQ"
REM VARCHAR2(6), "QTY_DEL" NUMBER(11, 3), "COD_XFER" VARCHAR2(2),
REM "COD_ADDR" VARCHAR2(8), "ADR_DEL" VARCHAR2(200), "NAM_ATTN"
REM VARCHAR2(30), "NUM_TEL" VARCHAR2(25), "MNY_DSC" NUMBER(9, 0),
REM "MNY_TRN" NUMBER(8, 0), "MNY_INSU" NUMBER(8, 0), "MNY_PROC" NUMBER(8,
REM 0), "MNY_OTHS" NUMBER(10, 2), "MNY_AMT" NUMBER(14, 4), "MNY_CTR"
REM NUMBER(8, 0), "UID_CLOSE" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "DSC_PROCA" VARCHAR2(1024), "STS_LINE" VARCHAR2(3), "NUM_REQ"
REM VARCHAR2(12), "LIN_REQ" VARCHAR2(3), "REMARK" VARCHAR2(2000),
REM "COD_INSU" VARCHAR2(5), "UNT_POR" VARCHAR2(3), "PIC_POR" NUMBER(14,
REM 5), "QTY_POR" NUMBER(11, 3), "AMT_POR" NUMBER(11, 2), "DAT_POR"
REM VARCHAR2(8), "COD_POR" VARCHAR2(2), "DSP_POR" VARCHAR2(50),
REM "QTY_PLUS" NUMBER(6, 0), "PRS_BUYO" NUMBER(15, 5), "STD_PRICE"
REM NUMBER(15, 5), "SEQ_BUY" VARCHAR2(3), "QTY_UPLOD" NUMBER(11, 3),
REM "COD_RST" VARCHAR2(2), "QTY_BACK" NUMBER(11, 3), "DSC_REJ"
REM VARCHAR2(100), "TYP_POLN" VARCHAR2(2), "NAM_RCV" VARCHAR2(30),
REM "RCV_TEL" VARCHAR2(25), "NUM_CASE" VARCHAR2(16), "DAT_NEED"
REM VARCHAR2(16), "DPT_NEED" VARCHAR2(8), "COD_REQ" VARCHAR2(3),
REM "SED_CUST" VARCHAR2(13), "DPT_CTL" VARCHAR2(8), "MNY_LC" NUMBER(14,
REM 4), "QTY_LC" NUMBER(11, 3), "COD_FACT" VARCHAR2(10), "DAT_OUTOK"
REM VARCHAR2(8), "ARG_OUTMP" NUMBER(12, 4), "STR_ITEM" VARCHAR2(20),
REM "NUM_VER" VARCHAR2(40), "DAT_VER" VARCHAR2(8), "DOC_CONM"
REM VARCHAR2(20), "NUM_PS" VARCHAR2(12), "NUM_ORD" VARCHAR2(16),
REM "ROT_ORD" VARCHAR2(3), "CHK_TAX" VARCHAR2(1), "QTY_QCB" NUMBER(11,
REM 3), "QTY_2RTND" NUMBER(11, 3), "PS1" VARCHAR2(60), "PS2"
REM VARCHAR2(60), "PS_N1" NUMBER(15, 4), "CON_NUMC" VARCHAR2(12),
REM "CON_ITEM" VARCHAR2(30), "PS3" VARCHAR2(20), "PS4" VARCHAR2(20),
REM "MAN_FACT" VARCHAR2(20), "MARK_HLP" VARCHAR2(1), "COD_LOC"
REM VARCHAR2(10), "COD_QUT" VARCHAR2(3), "CNT_PLN" NUMBER(17, 4),
REM "CNT_WGT" NUMBER(14, 6), "MATERIAL" NUMBER(11, 3), "LEV_URG"
REM VARCHAR2(2), "QTY_ERCVD" NUMBER(11, 3), "PS_XML1" VARCHAR2(200),
REM "PS_XML2" VARCHAR2(200), "PS_XML3" VARCHAR2(200), "PS_XML4"
REM VARCHAR2(200), "STS_LINEZ" VARCHAR2(3), "EMP_FRZ" VARCHAR2(8),
REM "DAT_FRZ" VARCHAR2(8), "DSC_FRZ" VARCHAR2(1000), "PS_ITNAME"
REM VARCHAR2(100), "PS_ITDSC" VARCHAR2(2000), "PS_ITDSC2" VARCHAR2(2000),
REM "DAT_INS" VARCHAR2(8), "PS5" VARCHAR2(20), "PS6" VARCHAR2(20),
REM "PS_N2" NUMBER(15, 4), "PS_N3" NUMBER(15, 4), "PS_N4" NUMBER(15, 4),
REM "PS_N5" NUMBER(15, 4), "NUM_BUYG" VARCHAR2(12), "LIN_BUYG"
REM VARCHAR2(3), "QTY_BUYG" NUMBER(11, 3), "CLS_TRN" VARCHAR2(2),
REM "COD_CUST" VARCHAR2(10), "QTY_BUYP" NUMBER(11, 3), "UNT_BUYP"
REM VARCHAR2(3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 98566144 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_BUYO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("UNT_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_INSU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_OTHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_CTR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PIC_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("AMT_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_PLUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PRS_BUYO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("STD_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_UPLOD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_BACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MNY_LC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_LC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("ARG_OUTMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_QCB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_2RTND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("CNT_PLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("CNT_WGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_ERCVD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("DAT_INS" DEFAULT
REM TO_CHAR(SYSDATE,'YYYYMMDD')) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("PS_N5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_BUYG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYD" MODIFY ("QTY_BUYP" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX_BUYD1" ON "BUYD" ("COD_ITEM" , "STS_LINE" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD3" ON "BUYD" ("STS_LINE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD2" ON "BUYD" ("NUM_REQ" , "LIN_REQ" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD6" ON "BUYD" ("NUM_PS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD5" ON "BUYD" ("CLS_GET" , "DAT_REQ" ,
"DPT_NEED" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD4" ON "BUYD" ("NUM_CASE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BUYD" ON "BUYD" ("CLS_GET" , "NUM_BUY" ,
"LIN_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD7" ON "BUYD" ("DAT_NEED" , "COD_FACT" ,
"NUM_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 8388608
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX_BUYD8" ON "BUYD" ("NUM_BUYG" , "LIN_BUYG" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BUYD" ADD CONSTRAINT "PK_BUYD" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY", "LIN_BUY") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 7340032 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BUYG" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(12) NOT NULL ENABLE, "LIN_BUY" VARCHAR2(3) NOT
REM NULL ENABLE, "STR_GROUP" VARCHAR2(12), "STR_CLS1" VARCHAR2(4),
REM "STR_CLS2" VARCHAR2(4), "STR_CLS3" VARCHAR2(4), "STR_CLS4"
REM VARCHAR2(4), "STR_CLS5" VARCHAR2(4), "STR_CLS6" VARCHAR2(20),
REM "STR_CLS7" VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_BUYG" ON "BUYG" ("CLS_GET" , "NUM_BUY" ,
"LIN_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BUYG" ADD CONSTRAINT "PK_BUYG" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY", "LIN_BUY") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BUYM" ("CLS_GET" VARCHAR2(1) NOT NULL ENABLE,
REM "NUM_BUY" VARCHAR2(12) NOT NULL ENABLE, "SER_BUY" VARCHAR2(2),
REM "DAT_BUY" VARCHAR2(8), "COD_FACT" VARCHAR2(10), "NUM_FACT"
REM VARCHAR2(20), "COD_PAYM" VARCHAR2(3), "CLS_DOLLA" VARCHAR2(3),
REM "COD_EMPBUY" VARCHAR2(8), "COD_XFER" VARCHAR2(2), "COD_ADDR"
REM VARCHAR2(8), "ADR_DEL" VARCHAR2(200), "DAT_REQ" VARCHAR2(8),
REM "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25), "NUM_FAX"
REM VARCHAR2(25), "AMT_TOT" NUMBER(14, 4), "MNY_DSC" NUMBER(10, 2),
REM "MNY_TRN" NUMBER(10, 2), "MNY_INSU" NUMBER(10, 2), "MNY_PROC"
REM NUMBER(10, 2), "MNY_OTHS" NUMBER(10, 2), "AMT_BUY" NUMBER(14, 4),
REM "COD_CONF" VARCHAR2(8), "REMARK" VARCHAR2(2000), "COD_EMPIN"
REM VARCHAR2(8), "COD_EMPCLS" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "COD_BUYC" VARCHAR2(2), "STS_BUY" VARCHAR2(3), "COD_NEED"
REM VARCHAR2(8), "NUM_ORD" VARCHAR2(16), "ROT_ORD" VARCHAR2(3), "SOR_BUY"
REM VARCHAR2(1), "INS_ALL" VARCHAR2(1), "COD_QUT" VARCHAR2(3), "DSC_DELV"
REM VARCHAR2(2000), "NUM_EDSM" VARCHAR2(12), "NUM_EDIR" VARCHAR2(10),
REM "DAT_POR" VARCHAR2(8), "COD_POR" VARCHAR2(2), "DSP_POR" VARCHAR2(50),
REM "DSC_REJ" VARCHAR2(100), "NUM_PS" VARCHAR2(12), "NUM_CNTL"
REM VARCHAR2(16), "TAX_TYPE" VARCHAR2(2), "DAT_CONF" VARCHAR2(8),
REM "SER_PCS" VARCHAR2(20), "SND_FROM" VARCHAR2(7), "SND_TO" VARCHAR2(7),
REM "COD_REQ" VARCHAR2(3), "DAT_KEYIN" VARCHAR2(8), "TIM_KEYIN"
REM VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "DAT_LAST" VARCHAR2(8),
REM "TYP_BUYM" VARCHAR2(3), "REMARK2" VARCHAR2(2000), "SED_CUST"
REM VARCHAR2(13), "COD_PAYMT" VARCHAR2(4), "DPT_CTL" VARCHAR2(8),
REM "DAT_STSU" VARCHAR2(8), "DTM_MAIL" VARCHAR2(16), "DAT_2XML"
REM VARCHAR2(16), "UID_2XML" VARCHAR2(16), "VAL_RATE" NUMBER(9, 4),
REM "NUM_DOCM" VARCHAR2(14), "ADD_BILL" VARCHAR2(200), "CNT_FAX"
REM NUMBER(3, 0), "DTM_2FAX" VARCHAR2(14), "UID_2FAX" VARCHAR2(8),
REM "FILE_2FAX" VARCHAR2(40)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 19922944 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("AMT_TOT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("MNY_INSU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("MNY_OTHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("AMT_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("VAL_RATE" DEFAULT 1 ) ;
REM ALTER TABLE "MFTEST"."BUYM" MODIFY ("CNT_FAX" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IDX2_BUYM" ON "BUYM" ("DAT_CONF" , "COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_BUYM" ON "BUYM" ("NUM_ORD" , "ROT_ORD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_BUYM" ON "BUYM" ("DAT_BUY" , "COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_BUYM" ON "BUYM" ("CLS_GET" , "NUM_BUY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_BUYM" ON "BUYM" ("NUM_PS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."BUYM" ADD CONSTRAINT "PK_BUYM" PRIMARY KEY
REM ("CLS_GET", "NUM_BUY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."BYUNT" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_FACT" VARCHAR2(10) NOT NULL ENABLE, "COD_UNIT"
REM VARCHAR2(3), "COD_UNITO" VARCHAR2(3), "CHG_RATE" NUMBER(12, 6),
REM "MIN_BATH" NUMBER(10, 2), "RAG_BATH" NUMBER(10, 2), "QTY_UNIT"
REM NUMBER(12, 3), "QTY_UNITO" NUMBER(15, 6), "DAT_INS" VARCHAR2(16),
REM "EMP_INS" VARCHAR2(8), "DAT_UPD" VARCHAR2(16), "EMP_UPD" VARCHAR2(8),
REM "PAK_PALT" NUMBER(12, 2), "PS1" VARCHAR2(200), "PS2" VARCHAR2(200),
REM "PS3" VARCHAR2(200), "PS4" VARCHAR2(200), "PS5" VARCHAR2(200),
REM "PS_N1" NUMBER(16, 5), "PS_N2" NUMBER(16, 5), "PS_N3" NUMBER(16, 5),
REM "PS_N4" NUMBER(16, 5), "PS_N5" NUMBER(16, 5), "MATERIAL" NUMBER(10,
REM 3), "YN_MARK" VARCHAR2(1), "LG_RATE" NUMBER(16, 5), "COD_UNITLG"
REM VARCHAR2(3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("MIN_BATH" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("RAG_BATH" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("QTY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("QTY_UNITO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("PAK_PALT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("PS_N5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."BYUNT" MODIFY ("LG_RATE" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_BYUNT" ON "BYUNT" ("COD_ITEM" ,
"COD_FACT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."BYUNT" ADD CONSTRAINT "PK_BYUNT" PRIMARY KEY
REM ("COD_ITEM", "COD_FACT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CADJ" ("NUM_CADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CADJ" VARCHAR2(8), "TYP_CADJ" VARCHAR2(2), "COD_CUST"
REM VARCHAR2(10), "COD_ITEMO" VARCHAR2(30), "COD_ITEM" VARCHAR2(20),
REM "QTY_TRNSB" NUMBER(8, 0), "QTY_TRNSE" NUMBER(8, 0), "OLD_PRIC"
REM NUMBER(14, 5), "NEW_PRIC" NUMBER(14, 5), "LIN_CADJ" VARCHAR2(4),
REM "DAT_CANL" VARCHAR2(8), "EMP_CANL" VARCHAR2(8), "DSC_CANL"
REM VARCHAR2(200), "EMP_CADJ" VARCHAR2(8), "STS_CADJ" VARCHAR2(2))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CADJ" MODIFY ("QTY_TRNSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CADJ" MODIFY ("QTY_TRNSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CADJ" MODIFY ("OLD_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CADJ" MODIFY ("NEW_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CADJ" MODIFY ("LIN_CADJ" DEFAULT '0001') ;
CREATE INDEX "MFTEST"."IDX1_CADJ" ON "CADJ" ("COD_ITEM" , "COD_CUST" ,
"COD_ITEMO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CADJ" ON "CADJ" ("NUM_CADJ" , "LIN_CADJ"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CADJ" ADD CONSTRAINT "PK_CADJ" PRIMARY KEY
REM ("NUM_CADJ", "LIN_CADJ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CADJM" ("NUM_CADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CADM" VARCHAR2(8), "EMP_CADM" VARCHAR2(8), "RSN_CADM"
REM VARCHAR2(2), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CADJM" ON "CADJM" ("NUM_CADJ" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CADJM" ADD CONSTRAINT "PK_CADJM" PRIMARY KEY
REM ("NUM_CADJ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CADM" ("NUM_CADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CADM" VARCHAR2(8), "EMP_CADM" VARCHAR2(8), "RSN_CADM"
REM VARCHAR2(2), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CADM" ON "CADM" ("NUM_CADJ" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CADM" ADD CONSTRAINT "PK_CADM" PRIMARY KEY
REM ("NUM_CADJ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CART" ("COD_CUST" VARCHAR2(8) NOT NULL ENABLE,
REM "DATE_TIME" VARCHAR2(14) NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20),
REM "QTY_REQ" NUMBER(8, 0), "STS_CART" VARCHAR2(2)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CART" ON "CART" ("COD_CUST" , "DATE_TIME"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CART" ADD CONSTRAINT "PK_CART" PRIMARY KEY
REM ("COD_CUST", "DATE_TIME") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CATT" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "LIN_DPT" VARCHAR2(2)
REM NOT NULL ENABLE, "NAM_ATTN" VARCHAR2(30), "NAM_POS" VARCHAR2(3),
REM "DAT_BIRTH" VARCHAR2(8), "NUM_TEL" VARCHAR2(25), "NUM_FAX"
REM VARCHAR2(25), "EMAIL" VARCHAR2(100), "NUM_AREA" VARCHAR2(7),
REM "ADD_DPT" VARCHAR2(200), "NUM_MOB" VARCHAR2(25), "POS_AREA"
REM VARCHAR2(8), "LST_MAIL" VARCHAR2(20), "TYP_WORK" VARCHAR2(2),
REM "COD_SEX" VARCHAR2(1), "SEND_EDM" VARCHAR2(2), "CNT_EDM" NUMBER(4,
REM 0), "READ_EDM" NUMBER(4, 0), "DSC_EDM" VARCHAR2(400), "MAIL_DNS"
REM VARCHAR2(600), "EDM_GRP1" VARCHAR2(10), "EDM_GRP2" VARCHAR2(10),
REM "NUM_ID" VARCHAR2(15), "COD_MRY" VARCHAR2(1), "COD_PROF" VARCHAR2(3),
REM "RANG_SALY" VARCHAR2(3), "COD_EDU" VARCHAR2(3), "CNT_FAMILY"
REM VARCHAR2(2), "LST_HOPE" VARCHAR2(100), "LST_WILL" VARCHAR2(100),
REM "LST_INTE" VARCHAR2(100)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CATT" MODIFY ("CNT_EDM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CATT" MODIFY ("READ_EDM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CATT" ON "CATT" ("COD_CUST" , "NUM_DPT" ,
"LIN_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CATT" ADD CONSTRAINT "PK_CATT" PRIMARY KEY
REM ("COD_CUST", "NUM_DPT", "LIN_DPT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDAR" ("DAT_CDAR" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_CUST" VARCHAR2(10) NOT NULL ENABLE, "COD_ADDR" VARCHAR2(8) NOT
REM NULL ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "EMP_BELON"
REM VARCHAR2(8) NOT NULL ENABLE, "DPT_BELON" VARCHAR2(8) NOT NULL ENABLE,
REM "QTY_DEL" NUMBER(11, 3), "AMT_DEL" NUMBER(17, 4), "QTY_ARMD"
REM NUMBER(11, 3), "AMT_ARMD" NUMBER(17, 4), "QTY_RTN" NUMBER(11, 3),
REM "AMT_RTN" NUMBER(17, 4), "AMT_DISC" NUMBER(17, 4)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("AMT_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("QTY_ARMD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("AMT_ARMD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("QTY_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("AMT_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDAR" MODIFY ("AMT_DISC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDAR" ON "CDAR" ("DAT_CDAR" , "COD_CUST"
, "COD_ADDR" , "COD_ITEM" , "EMP_BELON" , "DPT_BELON" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDAR" ADD CONSTRAINT "PK_CDAR" PRIMARY KEY
REM ("DAT_CDAR", "COD_CUST", "COD_ADDR", "COD_ITEM", "EMP_BELON",
REM "DPT_BELON") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDISC" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "DAT_BEG"
REM VARCHAR2(8) NOT NULL ENABLE, "DAT_END" VARCHAR2(8) NOT NULL ENABLE,
REM "RAT_DISC" NUMBER(6, 3), "AMT_DISC" NUMBER(17, 3), "EMP_UPD"
REM VARCHAR2(8), "DAT_EMP" VARCHAR2(8), "STS_CDISC" VARCHAR2(2)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDISC" MODIFY ("RAT_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDISC" MODIFY ("AMT_DISC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDISC" ON "CDISC" ("COD_CUST" ,
"COD_ITEM" , "DAT_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDISC" ADD CONSTRAINT "PK_CDISC" PRIMARY KEY
REM ("COD_CUST", "COD_ITEM", "DAT_BEG") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDPM" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "COD_DPT" VARCHAR2(8) NOT NULL ENABLE, "CLS_DPT" VARCHAR2(2) NOT NULL
REM ENABLE, "HUR_PLAN" NUMBER(10, 4), "HUR_REST" NUMBER(10, 4), "HUR_ACT"
REM NUMBER(10, 4), "HUR_OVER" NUMBER(10, 4), "HUR_WKA" NUMBER(10, 4),
REM "HUR_WKB" NUMBER(10, 4), "HUR_OVA" NUMBER(10, 4), "HUR_OVB"
REM NUMBER(10, 4), "MNY_WORK" NUMBER(10, 2), "MNY_OVHR" NUMBER(10, 2),
REM "MNY_MAKE" NUMBER(10, 2), "MNY_HRM" NUMBER(11, 6), "MNY_HRBN"
REM NUMBER(11, 6), "MNY_HRMO" NUMBER(11, 6), "HUR_ACTM" NUMBER(10, 4),
REM "MNY_HRBM" NUMBER(11, 6), "MNY_MANS" NUMBER(10, 2), "MNY_MASHS"
REM NUMBER(10, 2), "MNY_MANS2" NUMBER(10, 2), "MNY_HRBN2" NUMBER(11, 6),
REM "MNY_MSD" NUMBER(10, 2), "MNY_MSF" NUMBER(10, 2), "MNY_HRMSD"
REM NUMBER(11, 6), "MNY_HRMSF" NUMBER(11, 6), "DTM_INS" VARCHAR2(14),
REM "UID_INS" VARCHAR2(8), "DTM_UPD" VARCHAR2(14), "UID_UPD" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_PLAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_REST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_ACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_OVER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_WKA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_WKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_OVA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_OVB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_WORK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_OVHR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_MAKE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRBN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRMO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("HUR_ACTM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRBM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_MANS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_MASHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_MANS2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRBN2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_MSD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_MSF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRMSD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPM" MODIFY ("MNY_HRMSF" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDPM" ON "CDPM" ("MON_YM" , "COD_DPT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDPM" ADD CONSTRAINT "PK_CDPM" PRIMARY KEY
REM ("MON_YM", "COD_DPT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDPR" ("STN_WORK" VARCHAR2(8) NOT NULL ENABLE,
REM "MON_BEG" VARCHAR2(6) NOT NULL ENABLE, "MON_END" VARCHAR2(6) NOT NULL
REM ENABLE, "RAT_PUSE" NUMBER(6, 3), "RAT_MUSE" NUMBER(6, 3), "PS1"
REM VARCHAR2(400), "PS2" VARCHAR2(400), "PS_N1" NUMBER(10, 3), "PS_N2"
REM NUMBER(10, 3), "UID_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDPR" ON "CDPR" ("STN_WORK" , "MON_BEG" ,
"MON_END" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CDPR" ADD CONSTRAINT "PK_CDPR" PRIMARY KEY
REM ("STN_WORK", "MON_BEG", "MON_END") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDPT" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "NUM_CUST"
REM VARCHAR2(20), "COD_EDI" VARCHAR2(17), "COD_NET" VARCHAR2(4), "EMAIL"
REM VARCHAR2(100), "NAM_DPT" VARCHAR2(100), "ADD_DPT" VARCHAR2(200),
REM "NAM_ATTN" VARCHAR2(60), "NAM_POS" VARCHAR2(3), "DAT_BIRTH"
REM VARCHAR2(8), "NUM_TEL" VARCHAR2(25), "NUM_FAX" VARCHAR2(25),
REM "NUM_AREA" VARCHAR2(7), "COD_EMP" VARCHAR2(10), "COD_TRN"
REM VARCHAR2(3), "NUM_ACC" VARCHAR2(24), "COD_SALES" VARCHAR2(8),
REM "NUM_CNTL" VARCHAR2(16), "SND_TCKET" VARCHAR2(1), "POS_AREA"
REM VARCHAR2(8), "NAM_BANK" VARCHAR2(40), "NAM_DPTE" VARCHAR2(100),
REM "ADD_ENG" VARCHAR2(2000), "NAM_DPTES" VARCHAR2(20), "COD_BANK"
REM VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "SHIP_TO" VARCHAR2(200),
REM "TRAD_CUST" VARCHAR2(20), "NAM_ACC" VARCHAR2(100), "DAT_ACC"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "EMP_KEYIN" VARCHAR2(10),
REM "DAT_USET" VARCHAR2(8), "IP_ADDR" VARCHAR2(100), "FLD_C1"
REM VARCHAR2(16), "FLD_C2" VARCHAR2(16), "FLD_C3" VARCHAR2(16), "FLD_C4"
REM VARCHAR2(16), "FLD_C5" VARCHAR2(16), "FLD_N1" NUMBER(17, 4), "FLD_N2"
REM NUMBER(17, 4), "COD_QUTD" VARCHAR2(3), "EMP_SEND" VARCHAR2(8),
REM "ARE_TCKET" VARCHAR2(5), "COD_XFER" VARCHAR2(2), "DPT_CTL"
REM VARCHAR2(8), "CLE_SEND" VARCHAR2(3), "USE_TCKET" VARCHAR2(8),
REM "HLP_DISC" VARCHAR2(1), "LOC_BROW" VARCHAR2(10), "NUM_WAY"
REM VARCHAR2(12), "AST_SALES" VARCHAR2(8), "SRV_DPT" VARCHAR2(8),
REM "MAIL_ONCA" VARCHAR2(1), "MAIL_AR" VARCHAR2(1), "DSC_PALT"
REM VARCHAR2(50), "DSC_PACK" VARCHAR2(30), "COD_NAT" VARCHAR2(8),
REM "NUM_SMARK" VARCHAR2(20), "DAT_LAST" VARCHAR2(8), "EMP_LAST"
REM VARCHAR2(8), "CONSIGNEE" VARCHAR2(200), "SHP_REMARK" VARCHAR2(2000),
REM "FACT_FORWD" VARCHAR2(10), "NUM_MOB" VARCHAR2(25), "CLS_CDPT"
REM VARCHAR2(2), "COD_DOLA" VARCHAR2(3), "PROC_INVO" VARCHAR2(2),
REM "SEND_EDM" VARCHAR2(2), "CNT_EDM" NUMBER(4, 0), "READ_EDM" NUMBER(4,
REM 0), "DSC_EDM" VARCHAR2(400), "MAIL_DNS" VARCHAR2(600), "EDM_GRP1"
REM VARCHAR2(10), "EDM_GRP2" VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDPT" MODIFY ("FLD_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPT" MODIFY ("FLD_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPT" MODIFY ("CNT_EDM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPT" MODIFY ("READ_EDM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDPT" ON "CDPT" ("COD_CUST" , "NUM_DPT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDPT" ADD CONSTRAINT "PK_CDPT" PRIMARY KEY
REM ("COD_CUST", "NUM_DPT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDPTE" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "CRM_MAIL" VARCHAR2(4)
REM NOT NULL ENABLE, "DAT_BEG" VARCHAR2(8) NOT NULL ENABLE, "DAT_END"
REM VARCHAR2(8) NOT NULL ENABLE, "MAIL_CYCLE" VARCHAR2(2), "DATE_CYCLE"
REM VARCHAR2(2), "TO_EMAIL" VARCHAR2(2000), "LST_MAIL" VARCHAR2(16),
REM "NEXT_MAIL" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDPTE" ON "CDPTE" ("COD_CUST" , "NUM_DPT"
, "CRM_MAIL" , "DAT_BEG" , "DAT_END" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDPTE" ADD CONSTRAINT "PK_CDPTE" PRIMARY KEY
REM ("COD_CUST", "NUM_DPT", "CRM_MAIL", "DAT_BEG", "DAT_END") USING INDEX
REM PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM ENABLE ;
REM CREATE TABLE "MFTEST"."CDPTR" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "DAT_DPTR" VARCHAR2(8)
REM NOT NULL ENABLE, "LIN_DPTR" NUMBER(3, 0) NOT NULL ENABLE, "COD_EMP"
REM VARCHAR2(8), "ATTN_CST" VARCHAR2(30), "CLS_DPTR" VARCHAR2(3),
REM "STS_DPTR" VARCHAR2(2), "DSC_DPTR" VARCHAR2(2000), "PS1"
REM VARCHAR2(100), "PS2" VARCHAR2(100), "PS3" VARCHAR2(100), "DAT_UPD"
REM VARCHAR2(8), "EMP_UPD" VARCHAR2(8), "NAM_POS" VARCHAR2(3), "SN_TRNM"
REM VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDPTR" ON "CDPTR" ("COD_CUST" , "NUM_DPT"
, "DAT_DPTR" , "LIN_DPTR" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDPTR" ADD CONSTRAINT "PK_CDPTR" PRIMARY KEY
REM ("COD_CUST", "NUM_DPT", "DAT_DPTR", "LIN_DPTR") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDPT_POS" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "NUM_CUST"
REM VARCHAR2(20), "COD_EDI" VARCHAR2(17), "COD_NET" VARCHAR2(4), "EMAIL"
REM VARCHAR2(100), "NAM_DPT" VARCHAR2(100), "ADD_DPT" VARCHAR2(200),
REM "NAM_ATTN" VARCHAR2(30), "NAM_POS" VARCHAR2(3), "DAT_BIRTH"
REM VARCHAR2(8), "NUM_TEL" VARCHAR2(25), "NUM_FAX" VARCHAR2(25),
REM "NUM_AREA" VARCHAR2(7), "COD_EMP" VARCHAR2(10), "COD_TRN"
REM VARCHAR2(3), "NUM_ACC" VARCHAR2(24), "COD_SALES" VARCHAR2(8),
REM "NUM_CNTL" VARCHAR2(16), "SND_TCKET" VARCHAR2(1), "POS_AREA"
REM VARCHAR2(8), "NAM_BANK" VARCHAR2(40), "NAM_DPTE" VARCHAR2(100),
REM "ADD_ENG" VARCHAR2(200), "COD_BANK" VARCHAR2(3), "COD_BRANCH"
REM VARCHAR2(10), "SHIP_TO" VARCHAR2(200), "TRAD_CUST" VARCHAR2(20),
REM "NAM_ACC" VARCHAR2(100), "DAT_ACC" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "EMP_KEYIN" VARCHAR2(10), "DAT_USET" VARCHAR2(8),
REM "IP_ADDR" VARCHAR2(100), "FLD_C1" VARCHAR2(16), "FLD_C2"
REM VARCHAR2(16), "FLD_C3" VARCHAR2(16), "FLD_C4" VARCHAR2(16), "FLD_C5"
REM VARCHAR2(16), "FLD_N1" NUMBER(17, 4), "FLD_N2" NUMBER(17, 4),
REM "COD_QUTD" VARCHAR2(3), "EMP_SEND" VARCHAR2(8), "ARE_TCKET"
REM VARCHAR2(5), "COD_XFER" VARCHAR2(2), "DPT_CTL" VARCHAR2(8),
REM "CLE_SEND" VARCHAR2(3), "USE_TCKET" VARCHAR2(8), "HLP_DISC"
REM VARCHAR2(1), "LOC_BROW" VARCHAR2(10), "COD_PAYM" VARCHAR2(3),
REM "NUM_WAY" VARCHAR2(12), "AST_SALES" VARCHAR2(8), "SRV_DPT"
REM VARCHAR2(8), "MAIL_ONCA" VARCHAR2(1), "MAIL_AR" VARCHAR2(1),
REM "DSC_PALT" VARCHAR2(50), "DSC_PACK" VARCHAR2(30), "COD_NAT"
REM VARCHAR2(8), "NUM_SMARK" VARCHAR2(20), "DAT_LAST" VARCHAR2(8),
REM "EMP_LAST" VARCHAR2(8), "FACT_FORWD" VARCHAR2(10), "CONSIGNEE"
REM VARCHAR2(200), "SHP_REMARK" VARCHAR2(2000), "NUM_MOB" VARCHAR2(25),
REM "CLS_CDPT" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDPT_POS" MODIFY ("FLD_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDPT_POS" MODIFY ("FLD_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDPT_POS" ON "CDPT_POS" ("COD_CUST" ,
"NUM_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CDPT_POS" ADD CONSTRAINT "PK_CDPT_POS" PRIMARY
REM KEY ("COD_CUST", "NUM_DPT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDSH" ("YEAR" VARCHAR2(4) NOT NULL ENABLE,
REM "SER_NO" VARCHAR2(4) NOT NULL ENABLE, "TYP_SHAR" VARCHAR2(2),
REM "COD_ACCB" VARCHAR2(10), "COD_ACCE" VARCHAR2(10), "COD_DPTB"
REM VARCHAR2(8), "COD_DPTE" VARCHAR2(8), "SHA_DPT" VARCHAR2(8), "SHA_USE"
REM VARCHAR2(1), "SHA_RAT" NUMBER(10, 6), "BLE_SHAR" VARCHAR2(2),
REM "DAT_EFFB" VARCHAR2(8), "DAT_EFFE" VARCHAR2(8), "YN_CASE"
REM VARCHAR2(1), "FOR_CDSH" VARCHAR2(1), "RAT_FIXFRM" VARCHAR2(2),
REM "RAT_SHRFRM" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDSH" MODIFY ("FOR_CDSH" DEFAULT 'A' ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDSH" ON "CDSH" ("YEAR" , "SER_NO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDSH" ADD CONSTRAINT "PK_CDSH" PRIMARY KEY
REM ("YEAR", "SER_NO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CDSM" ("YR_MON" VARCHAR2(6) NOT NULL ENABLE,
REM "SHA_DPT" VARCHAR2(8) NOT NULL ENABLE, "TYP_SHAR" VARCHAR2(2) NOT
REM NULL ENABLE, "MNY_SHA" NUMBER(12, 4), "MNY_USE" NUMBER(12, 4),
REM "MNY_TOT" NUMBER(12, 4), "BLE_SHAR" VARCHAR2(2), "DTM_INS"
REM VARCHAR2(14), "UID_INS" VARCHAR2(8), "DTM_UPD" VARCHAR2(14),
REM "UID_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CDSM" MODIFY ("MNY_SHA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDSM" MODIFY ("MNY_USE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDSM" MODIFY ("MNY_TOT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CDSM" MODIFY ("BLE_SHAR" DEFAULT '10') ;
CREATE UNIQUE INDEX "MFTEST"."PK_CDSM" ON "CDSM" ("YR_MON" , "SHA_DPT" ,
"TYP_SHAR" , "BLE_SHAR" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CDSM" ADD CONSTRAINT "PK_CDSM" PRIMARY KEY
REM ("YR_MON", "SHA_DPT", "TYP_SHAR", "BLE_SHAR") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CENGD" ("NUM_ENGM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_ENGM" VARCHAR2(3) NOT NULL ENABLE, "NUM_PS"
REM VARCHAR2(12), "RAT_SHAR" NUMBER(6, 3)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CENGD" MODIFY ("RAT_SHAR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CENGD" ON "CENGD" ("NUM_ENGM" ,
"LIN_ENGM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CENGD" ADD CONSTRAINT "PK_CENGD" PRIMARY KEY
REM ("NUM_ENGM", "LIN_ENGM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CENGM" ("NUM_ENGM" VARCHAR2(20) NOT NULL
REM ENABLE, "NAM_ENGM" VARCHAR2(60), "COD_CUST" VARCHAR2(12), "NUM_CONM"
REM VARCHAR2(16), "DAT_CONM" VARCHAR2(8), "MNY_CONM" NUMBER(17, 4),
REM "MNY_PLUS" NUMBER(17, 4), "MNY_BFIN" NUMBER(17, 4), "CST_PLN"
REM NUMBER(17, 4), "RAT_OK" NUMBER(12, 8), "MNY_BEF" NUMBER(17, 4),
REM "MNY_END" NUMBER(17, 4), "MNY_RCVP" NUMBER(17, 4), "DAT_BEGP"
REM VARCHAR2(8), "DAT_ENDP" VARCHAR2(8), "DAT_BEGA" VARCHAR2(8),
REM "DAT_ENDA" VARCHAR2(8), "TYP_BEF" VARCHAR2(2), "TYP_ENGM"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("MNY_CONM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("MNY_PLUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("MNY_BFIN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("CST_PLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("RAT_OK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("MNY_BEF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("MNY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGM" MODIFY ("MNY_RCVP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CENGM" ON "CENGM" ("NUM_ENGM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CENGM" ADD CONSTRAINT "PK_CENGM" PRIMARY KEY
REM ("NUM_ENGM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CENGN" ("NUM_ENGM" VARCHAR2(20) NOT NULL
REM ENABLE, "YER_MON" VARCHAR2(6) NOT NULL ENABLE, "CST_BDM" NUMBER(17,
REM 4), "CST_BDP" NUMBER(17, 4), "CST_BCS" NUMBER(17, 4), "CST_BOUT"
REM NUMBER(17, 4), "CST_BENG" NUMBER(17, 4), "CST_NDM" NUMBER(17, 4),
REM "CST_NDP" NUMBER(17, 4), "CST_NCS" NUMBER(17, 4), "CST_NOUT"
REM NUMBER(17, 4), "CST_NENG" NUMBER(17, 4), "CST_EDM" NUMBER(17, 4),
REM "CST_EDP" NUMBER(17, 4), "CST_ECS" NUMBER(17, 4), "CST_EOUT"
REM NUMBER(17, 4), "CST_EENG" NUMBER(17, 4), "CST_NOW" NUMBER(17, 4),
REM "MNY_NOW" NUMBER(17, 4), "OK_NDM" NUMBER(17, 4), "OK_NDP" NUMBER(17,
REM 4), "OK_NCS" NUMBER(17, 4), "OK_NOUT" NUMBER(17, 4), "OK_NENG"
REM NUMBER(17, 4), "CST_BRCV" NUMBER(17, 4), "CST_NRCV" NUMBER(17, 4),
REM "CST_ERCV" NUMBER(17, 4), "OK_NRCV" NUMBER(17, 4), "MNY_END"
REM NUMBER(17, 4), "MNY_ENOW" NUMBER(17, 4)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_BDM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_BDP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_BCS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_BOUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_BENG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NDM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NDP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NCS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NOUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NENG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_EDM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_EDP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_ECS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_EOUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_EENG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NOW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("MNY_NOW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("OK_NDM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("OK_NDP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("OK_NCS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("OK_NOUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("OK_NENG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_BRCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_NRCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("CST_ERCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("OK_NRCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("MNY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CENGN" MODIFY ("MNY_ENOW" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_ENGN" ON "CENGN" ("YER_MON" , "NUM_ENGM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CENGN" ADD CONSTRAINT "PK_CENGN" PRIMARY KEY
REM ("NUM_ENGM", "YER_MON") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CFLTEMP" ("COD_USER" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_APPL" VARCHAR2(12) NOT NULL ENABLE, "COD_BANK"
REM VARCHAR2(3) NOT NULL ENABLE, "COD_BRANCH" VARCHAR2(10) NOT NULL
REM ENABLE, "ACNO" VARCHAR2(24) NOT NULL ENABLE, "NUM_CHECK" VARCHAR2(12)
REM NOT NULL ENABLE, "AMT_ACNO" NUMBER(12, 2), "AMT_D" NUMBER(12, 2),
REM "AMT_C" NUMBER(12, 2), "COD_CUST" VARCHAR2(13), "DAT_DUE"
REM VARCHAR2(8), "ENDAT_CHK" VARCHAR2(8), "STS_CHECK" VARCHAR2(1),
REM "DAT_PROC" VARCHAR2(8), "REMARK" VARCHAR2(40)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CFLTEMP" MODIFY ("AMT_ACNO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CFLTEMP" MODIFY ("AMT_D" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CFLTEMP" MODIFY ("AMT_C" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CFLTEMP" ON "CFLTEMP" ("COD_USER" ,
"COD_APPL" , "COD_BANK" , "COD_BRANCH" , "ACNO" , "NUM_CHECK" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CFLTEMP" ADD CONSTRAINT "PK_CFLTEMP" PRIMARY
REM KEY ("COD_USER", "COD_APPL", "COD_BANK", "COD_BRANCH", "ACNO",
REM "NUM_CHECK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CGL07" ("COD_USER" VARCHAR2(8) NOT NULL
REM ENABLE, "RET_AMT" NUMBER(12, 2), "ITM_TRN" VARCHAR2(40) NOT NULL
REM ENABLE, "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "TIM_TRN" VARCHAR2(10)
REM NOT NULL ENABLE, "TYP_TRN" VARCHAR2(1) NOT NULL ENABLE, "NUM_CHECK"
REM VARCHAR2(12), "AMT_TRN" NUMBER(12, 2), "MRK_TRN" VARCHAR2(1),
REM "CHG_AMT" NUMBER(12, 2), "NAM_CUST" VARCHAR2(100)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CGL07" MODIFY ("RET_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CGL07" MODIFY ("AMT_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CGL07" MODIFY ("CHG_AMT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CGL07" ON "CGL07" ("COD_USER" , "ITM_TRN"
, "DAT_TRN" , "TIM_TRN" , "TYP_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CGL07" ADD CONSTRAINT "PK_CGL07" PRIMARY KEY
REM ("COD_USER", "ITM_TRN", "DAT_TRN", "TIM_TRN", "TYP_TRN") USING INDEX
REM PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM ENABLE ;
REM CREATE TABLE "MFTEST"."CHADJ" ("NUM_ADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "NO_SER" VARCHAR2(4) NOT NULL ENABLE, "COD_LOC" VARCHAR2(10),
REM "COD_ITEM" VARCHAR2(20), "UNT_STK" VARCHAR2(3), "QTY_STK" NUMBER(12,
REM 3), "QTY_ADJ" NUMBER(12, 3), "PRS_ADJ" NUMBER(15, 4), "COD_ADJ"
REM VARCHAR2(2), "COD_EMPL" VARCHAR2(8), "DAT_ADJ" VARCHAR2(8) NOT NULL
REM ENABLE, "TIM_ADJ" VARCHAR2(10) NOT NULL ENABLE, "COD_QC" VARCHAR2(2),
REM "NUM_PROD" VARCHAR2(12), "DAT_ACCM" VARCHAR2(8), "EMP_ACCM"
REM VARCHAR2(8), "CST_ADJ" NUMBER(17, 4), "COD_CONF" VARCHAR2(8),
REM "DAT_CONF" VARCHAR2(8), "TIM_CONF" VARCHAR2(10), "STS_ADJ"
REM VARCHAR2(2), "SER_PCS" VARCHAR2(20), "DPT_CTL" VARCHAR2(8), "NUM_VER"
REM VARCHAR2(40), "STR_GROUP" VARCHAR2(12), "NUM_DSC" VARCHAR2(12),
REM "REMARK" VARCHAR2(1000), "NO_CARD" VARCHAR2(12), "UID_ADD"
REM VARCHAR2(8), "DTM_ADD" VARCHAR2(16), "PAK_ADJ" NUMBER(12, 2),
REM "QTY_BUYP" NUMBER(11, 3), "UNT_BUYP" VARCHAR2(3), "DAT_SYNC"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("QTY_ADJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("PRS_ADJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("CST_ADJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("SER_PCS" DEFAULT 'xxxx') ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("NUM_DSC" DEFAULT 'xxxx') ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("PAK_ADJ" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."CHADJ" MODIFY ("QTY_BUYP" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_CHADJ" ON "CHADJ" ("DAT_ADJ" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CHADJ" ON "CHADJ" ("NUM_ADJ" , "NO_SER" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CHADJ" ADD CONSTRAINT "PK_CHADJ" PRIMARY KEY
REM ("NUM_ADJ", "NO_SER") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CHEK" ("NUM_CHK" VARCHAR2(12) NOT NULL ENABLE,
REM "NO_SER" NUMBER(6, 0) NOT NULL ENABLE, "COD_LOC" VARCHAR2(10),
REM "COD_ITEM" VARCHAR2(20), "COD_ITEMA" VARCHAR2(20), "UNT_STK"
REM VARCHAR2(3), "QTY_STK" NUMBER(12, 3), "QTY_STKA" NUMBER(12, 3),
REM "QTY_STKR" NUMBER(13, 4), "QTY_ADJ" NUMBER(12, 3), "COD_QC"
REM VARCHAR2(2), "DAT_CHEK" VARCHAR2(8), "TIM_CHEK" VARCHAR2(8),
REM "QTY_DRAW" NUMBER(13, 4), "SER_PCS" VARCHAR2(20), "QTY_STKF"
REM NUMBER(13, 4), "NO_CARD" VARCHAR2(12), "PS" VARCHAR2(100), "STS_CHEK"
REM VARCHAR2(2), "DPT_CTL" VARCHAR2(8), "DAT_CHEKA" VARCHAR2(8),
REM "NUM_VER" VARCHAR2(40), "STR_GROUP" VARCHAR2(12), "TIM_CHEKA"
REM VARCHAR2(8), "DAT_CHEKO" VARCHAR2(8), "TIM_CHEKO" VARCHAR2(8),
REM "QTY_STKO" NUMBER(12, 3), "QTY_ITTRI" NUMBER(12, 3), "QTY_ITTRO"
REM NUMBER(12, 3), "QTY_POS" NUMBER(12, 3), "NUM_DSC" VARCHAR2(12),
REM "DAT_QSTK" VARCHAR2(8), "GRP_CARD" VARCHAR2(14), "DTM_NOTE"
REM VARCHAR2(14), "UID_NOTE" VARCHAR2(8), "DAT_SYNC" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_STKA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_STKR" DEFAULT NULL) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_ADJ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_DRAW" DEFAULT NULL) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("SER_PCS" DEFAULT 'xxxx') ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_STKF" DEFAULT NULL) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("STS_CHEK" DEFAULT '00') ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_STKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_ITTRI" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_ITTRO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("QTY_POS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHEK" MODIFY ("NUM_DSC" DEFAULT 'xxxx') ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_CHEK" ON "CHEK" ("NO_CARD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CHEK" ON "CHEK" ("NUM_CHK" , "NO_SER" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CHEK" ADD CONSTRAINT "PK_CHEK" PRIMARY KEY
REM ("NUM_CHK", "NO_SER") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CHEKM" ("NUM_CHKM" VARCHAR2(12) NOT NULL
REM ENABLE, "MON_CHKM" VARCHAR2(6), "NUM_CHK" VARCHAR2(12), "NO_SER"
REM NUMBER(6, 0), "COD_ITEM" VARCHAR2(20), "COD_LOC" VARCHAR2(10),
REM "SER_PCS" VARCHAR2(20), "NUM_DSC" VARCHAR2(12), "COD_QC" VARCHAR2(2),
REM "QTY_STKA" NUMBER(12, 3), "DPT_CTL" VARCHAR2(8), "DTM_PROC"
REM VARCHAR2(14), "UID_PROC" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CHEKM" MODIFY ("NO_SER" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."CHEKM" MODIFY ("QTY_STKA" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CHEKM" ON "CHEKM" ("NUM_CHKM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_CHEKM" ON "CHEKM" ("COD_ITEM" , "COD_LOC" ,
"SER_PCS" , "NUM_DSC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CHEKM" ADD CONSTRAINT "PK_CHEKM" PRIMARY KEY
REM ("NUM_CHKM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CHEK_TMP" ("NUM_CHEK" VARCHAR2(12) NOT NULL
REM ENABLE, "NO_SER" NUMBER(6, 0) NOT NULL ENABLE, "DAT_CHEK"
REM VARCHAR2(8), "TIM_CHEK" VARCHAR2(8), "EMP_CHEK" VARCHAR2(30),
REM "COD_LOC" VARCHAR2(10), "SER_PCS" VARCHAR2(20), "BARCODE"
REM VARCHAR2(20), "COD_ITEM" VARCHAR2(20), "QTY_CHEK" NUMBER(12, 3),
REM "PS_C1" VARCHAR2(20), "PS_C2" VARCHAR2(20), "PS_C3" VARCHAR2(20),
REM "PS_N1" NUMBER(12, 3), "PS_N2" NUMBER(12, 3), "PS_N3" NUMBER(12, 3),
REM "PS_N4" NUMBER(12, 3), "PS_N5" NUMBER(12, 3), "PS_N6" NUMBER(12, 3),
REM "PS_N7" NUMBER(12, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CHEK_TMP" MODIFY ("QTY_CHEK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CHECK_TMP" ON "CHEK_TMP" ("NUM_CHEK" ,
"NO_SER" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CHEK_TMP" ADD CONSTRAINT "PK_CHECK_TMP" PRIMARY
REM KEY ("NUM_CHEK", "NO_SER") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CHJTMP" ("DAT_CHJ" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_NO" VARCHAR2(5) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(13), "COD_ITEMO" VARCHAR2(30), "COD_ITEM" VARCHAR2(20),
REM "COD_LOC" VARCHAR2(10), "UNT_STK" VARCHAR2(3), "QTY_STK" NUMBER(12,
REM 3), "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "TIM_TRN" VARCHAR2(10) NOT
REM NULL ENABLE, "COD_QC" VARCHAR2(2), "SER_PCS" VARCHAR2(20), "DAT_EFF"
REM VARCHAR2(8), "PRS_STK" NUMBER(15, 4), "CST_STK" NUMBER(17, 4))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CHJTMP" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHJTMP" MODIFY ("PRS_STK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CHJTMP" ON "CHJTMP" ("DAT_CHJ" ,
"COD_CUST" , "SEQ_NO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CHJTMP" ADD CONSTRAINT "PK_CHJTMP" PRIMARY KEY
REM ("DAT_CHJ", "COD_CUST", "SEQ_NO") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CHL02" ("COD_USER" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_BANK" VARCHAR2(3) NOT NULL ENABLE, "COD_BRANCH"
REM VARCHAR2(10) NOT NULL ENABLE, "ACNO" VARCHAR2(24) NOT NULL ENABLE,
REM "DAT_PLAN" VARCHAR2(8) NOT NULL ENABLE, "ITEM" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_CHECK" VARCHAR2(12), "TYP_PLN" VARCHAR2(10), "AMT_RPLN"
REM NUMBER(12, 2), "COD_PCUST" VARCHAR2(30), "AMT_PPLN" NUMBER(12, 2),
REM "COD_RCUST" VARCHAR2(30), "COD_DOLA" VARCHAR2(3), "AMT_RPLNUS"
REM NUMBER(17, 4), "AMT_PPLNUS" NUMBER(17, 4)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CHL02" MODIFY ("AMT_RPLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHL02" MODIFY ("AMT_PPLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHL02" MODIFY ("AMT_RPLNUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CHL02" MODIFY ("AMT_PPLNUS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CHL02" ON "CHL02" ("COD_USER" ,
"COD_BANK" , "COD_BRANCH" , "ACNO" , "DAT_PLAN" , "ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CHL02" ADD CONSTRAINT "PK_CHL02" PRIMARY KEY
REM ("COD_USER", "COD_BANK", "COD_BRANCH", "ACNO", "DAT_PLAN", "ITEM")
REM USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CITB" ("COD_ITEM" VARCHAR2(30) NOT NULL
REM ENABLE, "CON_NUMC" VARCHAR2(12) NOT NULL ENABLE, "NUM_AREA"
REM VARCHAR2(5), "COD_CITB" VARCHAR2(2), "NUM_CITB" VARCHAR2(20),
REM "DAT_CITB" VARCHAR2(8), "DAT_CITE" VARCHAR2(8), "COD_DOLA"
REM VARCHAR2(3), "MNY_CITB" NUMBER(14, 4), "MNY_CITU" NUMBER(14, 4),
REM "REMARK" VARCHAR2(400), "QTY_CITB" NUMBER(14, 3), "QTY_CITU"
REM NUMBER(14, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CITB" MODIFY ("MNY_CITB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITB" MODIFY ("MNY_CITU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITB" MODIFY ("QTY_CITB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITB" MODIFY ("QTY_CITU" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CITB" ON "CITB" ("COD_ITEM" , "CON_NUMC"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CITB" ADD CONSTRAINT "PK_CITB" PRIMARY KEY
REM ("COD_ITEM", "CON_NUMC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CITBC" ("CON_NUMC" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_CON" VARCHAR2(2) NOT NULL ENABLE, "DPT_CTL" VARCHAR2(8),
REM "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CITBC" ON "CITBC" ("CON_NUMC" , "SEQ_CON"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CITBC" ADD CONSTRAINT "PK_CITBC" PRIMARY KEY
REM ("CON_NUMC", "SEQ_CON") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CITBD" ("CON_NUMC" VARCHAR2(12) NOT NULL
REM ENABLE, "CON_ITEM" VARCHAR2(30) NOT NULL ENABLE, "LIN_CITB" NUMBER(3,
REM 0), "COD_ITEMS" VARCHAR2(20), "QTY_ITEMS" NUMBER(14, 7), "RAT_SSF"
REM NUMBER(6, 2), "QYT_CITBS" NUMBER(14, 3), "REMARK" VARCHAR2(200))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CITBD" ON "CITBD" ("CON_NUMC" ,
"CON_ITEM" , "LIN_CITB" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CITBD" ADD CONSTRAINT "PK_CITBD" PRIMARY KEY
REM ("CON_NUMC", "CON_ITEM", "LIN_CITB") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CITBR" ("NUM_ITBR" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_ITBRB" VARCHAR2(8), "DAT_ITBRE" VARCHAR2(8), "COD_ITEM"
REM VARCHAR2(30) NOT NULL ENABLE, "QTY_ITBRF" NUMBER(14, 3), "QTY_ITBRS"
REM NUMBER(14, 3), "QTY_ITBRA" NUMBER(14, 3), "CON_NUMC" VARCHAR2(12),
REM "COD_CITB" VARCHAR2(2), "EMP_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "STS_ITBR"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CITBR" MODIFY ("QTY_ITBRF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITBR" MODIFY ("QTY_ITBRS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITBR" MODIFY ("QTY_ITBRA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CITBR" ON "CITBR" ("NUM_ITBR" ,
"COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CITBR" ADD CONSTRAINT "PK_CITBR" PRIMARY KEY
REM ("NUM_ITBR", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CITBS" ("CON_NUMC" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_ITEMS" VARCHAR2(20) NOT NULL ENABLE, "QYT_CITBS"
REM NUMBER(14, 3), "QYT_CONF" NUMBER(14, 3), "QYT_BUY" NUMBER(14, 3),
REM "QYT_RCVD" NUMBER(14, 3), "QYT_APLY" NUMBER(14, 3), "QYT_SUPY"
REM NUMBER(14, 3), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CITBS" ON "CITBS" ("CON_NUMC" ,
"COD_ITEMS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CITBS" ADD CONSTRAINT "PK_CITBS" PRIMARY KEY
REM ("CON_NUMC", "COD_ITEMS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CITM" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_ITEMO" VARCHAR2(30) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20) NOT NULL ENABLE, "UNT_STK" VARCHAR2(3), "UNT_PRIC"
REM NUMBER(16, 5), "LST_DAT" VARCHAR2(8), "LST_PRIC" NUMBER(16, 5),
REM "STS_QC" VARCHAR2(2), "DAY_DEL" NUMBER(3, 0), "REMARK" VARCHAR2(60),
REM "COD_EMPL" VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "EMP_LAST"
REM VARCHAR2(8), "DAT_LAST" VARCHAR2(8), "CON_ITEM" VARCHAR2(30),
REM "CON_ITEMNM" VARCHAR2(60), "NUM_CNTL" VARCHAR2(16), "PRS_SALE"
REM NUMBER(16, 5), "BARCODE" VARCHAR2(20), "CON_NUMC" VARCHAR2(12),
REM "COD_DOLA" VARCHAR2(3), "SEQ_NO" VARCHAR2(1), "PS1" VARCHAR2(100),
REM "PS2" VARCHAR2(2000), "N_PS1" NUMBER(16, 5), "N_PS2" NUMBER(16, 5),
REM "DAT_STOP" VARCHAR2(8), "RSN_STOP" VARCHAR2(2), "DAT_SPROC"
REM VARCHAR2(8), "EMP_SPROC" VARCHAR2(8), "PS3" VARCHAR2(2000), "PS4"
REM VARCHAR2(100), "ITEM_QC" VARCHAR2(20), "TYP_DTUSE" VARCHAR2(4),
REM "NUM_CITM" VARCHAR2(14), "COD_QUTD" VARCHAR2(3), "DPT_CTL"
REM VARCHAR2(8), "PRS_OEVAD" NUMBER(16, 5), "DTM_OEVAD" VARCHAR2(16),
REM "CPRS_FROM" VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 5242880 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("UNT_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("LST_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("PRS_SALE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("N_PS1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("N_PS2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CITM" MODIFY ("PRS_OEVAD" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."IND1_CITM" ON "CITM" ("COD_ITEM" ,
"COD_CUST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX2_CITM" ON "CITM" ("COD_CUST" ,
"COD_ITEMO" , "COD_ITEM" , "DPT_CTL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CITM" ON "CITM" ("NUM_CITM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CITM" ADD CONSTRAINT "PK_CITM" PRIMARY KEY
REM ("NUM_CITM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLDD" ("NUM_PS" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_PS" VARCHAR2(2) NOT NULL ENABLE, "SER_PCS" VARCHAR2(20),
REM "QTY_PS" NUMBER(12, 3), "UNT_STK" VARCHAR2(3), "DAT_BEGS"
REM VARCHAR2(8), "DAT_ENDS" VARCHAR2(8), "DAT_LAST" VARCHAR2(8),
REM "EMP_LAST" VARCHAR2(8), "STS_PCS" VARCHAR2(2), "PS1" VARCHAR2(60),
REM "PS2" VARCHAR2(60), "PS3" VARCHAR2(60), "PS4" VARCHAR2(60), "PS5"
REM VARCHAR2(60), "PS6" VARCHAR2(60), "PS_N1" NUMBER(12, 3), "PS_N2"
REM NUMBER(12, 3), "PS_N3" NUMBER(12, 3), "PS_N4" NUMBER(12, 3), "PS_N5"
REM NUMBER(12, 3), "PS_N6" NUMBER(12, 3), "STR_ITEM" VARCHAR2(20),
REM "DAT_VER" VARCHAR2(8), "NUM_VTAX" VARCHAR2(40), "DAT_VTAX"
REM VARCHAR2(8), "COD_ITEM" VARCHAR2(20), "STR_GROUP" VARCHAR2(12),
REM "STR_CLS1" VARCHAR2(4), "STR_CLS2" VARCHAR2(4), "STR_CLS3"
REM VARCHAR2(4), "STR_CLS4" VARCHAR2(4), "STR_CLS5" VARCHAR2(4),
REM "STR_CLS6" VARCHAR2(20), "STR_CLS7" VARCHAR2(4), "RUN_AUTO"
REM VARCHAR2(1), "STS_TAXSTR" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("QTY_PS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("PS_N5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDD" MODIFY ("PS_N6" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLDD" ON "CLDD" ("NUM_PS" , "LIN_PS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CLDD" ADD CONSTRAINT "PK_CLDD" PRIMARY KEY
REM ("NUM_PS", "LIN_PS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLDR" ("DAT_DALY" VARCHAR2(8) NOT NULL ENABLE,
REM "CLS_WORK" VARCHAR2(1), "DESC_DALY" VARCHAR2(20)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLDR" ON "CLDR" ("DAT_DALY" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CLDR" ADD CONSTRAINT "PK_CLDR" PRIMARY KEY
REM ("DAT_DALY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLDS" ("NUM_PS" VARCHAR2(12) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "QTY_PCS" NUMBER(12, 3),
REM "QTY_STK" NUMBER(12, 3), "COD_UNITP" VARCHAR2(8), "SER_PCS"
REM VARCHAR2(20), "QTY_DEL" NUMBER(12, 3), "DAT_BEGS" VARCHAR2(8),
REM "DAT_ENDS" VARCHAR2(8), "DAT_QCS" VARCHAR2(8), "DAT_DELS"
REM VARCHAR2(8), "DAT_BEGA" VARCHAR2(8), "DAT_ENDA" VARCHAR2(8),
REM "DAT_QCA" VARCHAR2(8), "DAT_DELA" VARCHAR2(8), "QTY_PCSS" NUMBER(12,
REM 3), "QTY_QCA" NUMBER(12, 3), "QTY_DELA" NUMBER(12, 3), "COD_PRV"
REM VARCHAR2(8), "COD_PCS" VARCHAR2(1), "STS_IRQ" VARCHAR2(1), "STS_PCS"
REM VARCHAR2(2), "COD_KEYIN" VARCHAR2(8), "REMARK" VARCHAR2(2000),
REM "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "TYP_CLDS"
REM VARCHAR2(2), "L_DOCM" VARCHAR2(1), "REMARK1" VARCHAR2(200), "REMARK2"
REM VARCHAR2(200), "REMARK3" VARCHAR2(200), "EMP_CANL" VARCHAR2(8),
REM "DAT_CANL" VARCHAR2(8), "DSC_CANL" VARCHAR2(200), "STR_ITEM"
REM VARCHAR2(20) NOT NULL ENABLE, "DPT_PROD" VARCHAR2(8), "NUM_VER"
REM VARCHAR2(40), "STR_GROUP" VARCHAR2(12), "STR_CLS1" VARCHAR2(4),
REM "STR_CLS2" VARCHAR2(4), "STR_CLS3" VARCHAR2(4), "STR_CLS4"
REM VARCHAR2(4), "STR_CLS5" VARCHAR2(4), "STR_CLS6" VARCHAR2(20),
REM "STR_CLS7" VARCHAR2(4), "UNT_STK" VARCHAR2(3), "DAT_LAST"
REM VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "PRO_TAX" VARCHAR2(1), "DAT_VER"
REM VARCHAR2(8), "NUM_CASE" VARCHAR2(16), "QTY_UPLOD" NUMBER(12, 3),
REM "LST_UPLOD" VARCHAR2(8), "CON_NUMC" VARCHAR2(12), "STT_CASE"
REM VARCHAR2(1), "NEW_NUMPS" VARCHAR2(12), "EMP_CHK" VARCHAR2(8),
REM "CYC_SEND" VARCHAR2(2), "NUM_MERGE" VARCHAR2(12), "DPT_CTLTX"
REM VARCHAR2(8), "ITEM_QC" VARCHAR2(20), "NUM_VTAX" VARCHAR2(40),
REM "DAT_VTAX" VARCHAR2(8), "TO_CLDSSTT" VARCHAR2(1), "DAT_LSTBUY"
REM VARCHAR2(8), "DAT_BUYPRC" VARCHAR2(8), "UID_BUYPRC" VARCHAR2(8),
REM "MON_SYNC" VARCHAR2(6), "DAT_SYNC" VARCHAR2(8), "DAT_FSTLACK"
REM VARCHAR2(8), "DTM_APS" VARCHAR2(16), "UID_APS" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_PCS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_PCSS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_QCA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_DELA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("COD_PCS" DEFAULT 'M') ;
REM ALTER TABLE "MFTEST"."CLDS" MODIFY ("QTY_UPLOD" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX5_CLDS" ON "CLDS" ("NUM_CASE" , "NUM_PS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_CLDS" ON "CLDS" ("STR_ITEM" , "NUM_PS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_CLDS" ON "CLDS" ("DAT_BEGS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_CLDS" ON "CLDS" ("COD_ITEM" , "DAT_BEGS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_CLDS" ON "CLDS" ("DAT_QCA" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLDS" ON "CLDS" ("NUM_PS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX6_CLDS" ON "CLDS" ("STS_PCS" , "NUM_PS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CLDS" ADD CONSTRAINT "PK_CLDS" PRIMARY KEY
REM ("NUM_PS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLDSSTT" ("NUM_PS" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_PSTT" VARCHAR2(3) NOT NULL ENABLE, "VAL_STT" NUMBER(17,
REM 4), "DAT_STT" VARCHAR2(8), "UID_STT" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CLDSSTT" MODIFY ("VAL_STT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLDSSTT" ON "CLDSSTT" ("NUM_PS" ,
"COD_PSTT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CLDSSTT" ADD CONSTRAINT "PK_CLDSSTT" PRIMARY
REM KEY ("NUM_PS", "COD_PSTT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLDSU" ("NUM_PS" VARCHAR2(12) NOT NULL ENABLE,
REM "COD_ITEMU" VARCHAR2(20) NOT NULL ENABLE, "SHR_COST" NUMBER(8, 3),
REM "REMARK" VARCHAR2(200), "EMP_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CLDSU" MODIFY ("SHR_COST" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLDSU" ON "CLDSU" ("NUM_PS" , "COD_ITEMU"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CLDSU" ADD CONSTRAINT "PK_CLDSU" PRIMARY KEY
REM ("NUM_PS", "COD_ITEMU") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLEV" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "CLS_LEV"
REM VARCHAR2(1), "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLEV" ON "CLEV" ("COD_CUST" , "COD_ITEM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CLEV" ADD CONSTRAINT "PK_CLEV" PRIMARY KEY
REM ("COD_CUST", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CLSBOS" ("NUM_CBOS" VARCHAR2(20) NOT NULL
REM ENABLE, "CLS_PAYM" VARCHAR2(3), "DPT_CTL" VARCHAR2(8), "CST_SYS"
REM VARCHAR2(8), "LEV_CUST" VARCHAR2(3), "COD_IND" VARCHAR2(4),
REM "DAT_EFFP" VARCHAR2(8), "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8),
REM "MNY_BEG" NUMBER(11, 3), "MNY_END" NUMBER(11, 3), "PAY_SIGN"
REM NUMBER(11, 3), "MNY_WEIGHT" NUMBER(11, 3), "CNT_ALL" NUMBER(3, 0),
REM "PS1" VARCHAR2(600), "PS2" VARCHAR2(600), "PS_N1" NUMBER(17, 4),
REM "PS_N2" NUMBER(17, 4), "STS_CBOS" VARCHAR2(2), "DAT_UPD" VARCHAR2(8),
REM "EMP_UPD" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "EMP_CONF"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("MNY_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("MNY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("PAY_SIGN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("MNY_WEIGHT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("CNT_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CLSBOS" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CLSBOS" ON "CLSBOS" ("NUM_CBOS" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_CLSBOS" ON "CLSBOS" ("CLS_PAYM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CLSBOS" ADD CONSTRAINT "PK_CLSBOS" PRIMARY KEY
REM ("NUM_CBOS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CODD" ("CODE_ID" VARCHAR2(10) NOT NULL ENABLE,
REM "CODE" VARCHAR2(20) NOT NULL ENABLE, "CONTENT" VARCHAR2(2000),
REM "CVALUE" VARCHAR2(600), "EDIT_USER" VARCHAR2(1), "CVALUE2"
REM VARCHAR2(100), "CVALUE3" VARCHAR2(100), "CVALUE4" VARCHAR2(100),
REM "CVALUE5" VARCHAR2(200), "CVALUE6" VARCHAR2(100), "CVALUE7"
REM VARCHAR2(600), "CVALUE8" VARCHAR2(20), "CVALUE9" VARCHAR2(20),
REM "CVALUE10" VARCHAR2(20), "INS_DATE" VARCHAR2(8), "DAT_UPD"
REM VARCHAR2(16), "EMP_UPD" VARCHAR2(8), "CONT_ENG" VARCHAR2(2000),
REM "CVALUE11" VARCHAR2(20), "CVALUE12" VARCHAR2(20), "CVALUE13"
REM VARCHAR2(20), "CVALUE14" VARCHAR2(20), "CVALUE15" VARCHAR2(20))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 458752
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CODD" MODIFY ("INS_DATE" DEFAULT
REM TO_CHAR(SYSDATE, 'YYYYMMDD')) ;
REM ALTER TABLE "MFTEST"."CODD" MODIFY ("DAT_UPD" DEFAULT
REM TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS')) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CODD" ON "CODD" ("CODE_ID" , "CODE" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CODD" ADD CONSTRAINT "PK_CODD" PRIMARY KEY
REM ("CODE_ID", "CODE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CODD_POS" ("CODE_ID" VARCHAR2(10) NOT NULL
REM ENABLE, "CODE" VARCHAR2(20) NOT NULL ENABLE, "CONTENT"
REM VARCHAR2(2000), "CVALUE" VARCHAR2(100), "EDIT_USER" VARCHAR2(1),
REM "CVALUE2" VARCHAR2(100), "CVALUE3" VARCHAR2(100), "CVALUE4"
REM VARCHAR2(100), "CVALUE5" VARCHAR2(100), "CVALUE6" VARCHAR2(20),
REM "CVALUE7" VARCHAR2(20), "CVALUE8" VARCHAR2(20), "CVALUE9"
REM VARCHAR2(20), "CVALUE10" VARCHAR2(20), "INS_DATE" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CODD_POS" ON "CODD_POS" ("CODE_ID" ,
"CODE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CODD_POS" ADD CONSTRAINT "PK_CODD_POS" PRIMARY
REM KEY ("CODE_ID", "CODE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CODL" ("CODE_ID" VARCHAR2(10) NOT NULL ENABLE,
REM "CODE" VARCHAR2(20) NOT NULL ENABLE, "COD_CODL" VARCHAR2(30) NOT NULL
REM ENABLE, "SER_CODL" NUMBER(3, 0), "LEN_CODL" NUMBER(3, 0), "DSP_CODL"
REM VARCHAR2(200), "PS1" VARCHAR2(200), "CVALUE" VARCHAR2(600), "CVALUE2"
REM VARCHAR2(20), "CVALUE3" VARCHAR2(20), "CVALUE4" VARCHAR2(20)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 327680
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CODL" MODIFY ("SER_CODL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CODL" MODIFY ("LEN_CODL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CODL" ON "CODL" ("CODE_ID" , "CODE" ,
"COD_CODL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CODL" ADD CONSTRAINT "PK_CODL" PRIMARY KEY
REM ("CODE_ID", "CODE", "COD_CODL") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CODM" ("CODE_ID" VARCHAR2(10) NOT NULL ENABLE,
REM "CODE_NM" VARCHAR2(60), "CODE_LEN" NUMBER(*,0), "CONT_LEN"
REM NUMBER(*,0), "CAN_USER" VARCHAR2(1), "FOR_SYSTEM" VARCHAR2(10),
REM "TYP_BEL" VARCHAR2(10), "INT_CTL1" VARCHAR2(4), "INT_CTL2"
REM VARCHAR2(4), "INT_CTL3" VARCHAR2(4), "INT_CTL4" VARCHAR2(4),
REM "INT_CTL5" VARCHAR2(4), "INT_CTL6" VARCHAR2(4), "INT_CTL7"
REM VARCHAR2(4), "INT_CTL8" VARCHAR2(4), "INT_CTL9" VARCHAR2(4),
REM "INS_DATE" VARCHAR2(8), "INT_CTLZ" VARCHAR2(4), "CODD_INIT"
REM VARCHAR2(2000), "EMP_INIT" VARCHAR2(8), "DAT_INIT" VARCHAR2(8),
REM "BLOB_INIT" BLOB, "LEV_CODM" VARCHAR2(10), "PS_N1" NUMBER(10, 3),
REM "PS_N2" NUMBER(10, 3), "PS1" VARCHAR2(200), "PS2" VARCHAR2(200))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 131072
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS LOB ("BLOB_INIT") STORE AS (TABLESPACE
REM "MF2000" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE
REM LOGGING STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT)) ;
REM ALTER TABLE "MFTEST"."CODM" MODIFY ("CODE_LEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CODM" MODIFY ("CONT_LEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CODM" MODIFY ("INS_DATE" DEFAULT
REM TO_CHAR(SYSDATE, 'YYYYMMDD')) ;
REM ALTER TABLE "MFTEST"."CODM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CODM" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CODM" ON "CODM" ("CODE_ID" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CODM" ADD CONSTRAINT "PK_CODM" PRIMARY KEY
REM ("CODE_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CODNO" ("CODE_ID" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_CODO" VARCHAR2(30) NOT NULL ENABLE, "COD_CODN"
REM VARCHAR2(30), "NAM_CODN" VARCHAR2(200), "SEQ_NO" NUMBER(6, 0),
REM "DAT_CODC" VARCHAR2(8), "STS_CODC" VARCHAR2(2), "MSG_CODC"
REM VARCHAR2(100), "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8),
REM "TYP_CHG" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CODNO" MODIFY ("SEQ_NO" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CODNO" ON "CODNO" ("CODE_ID" , "COD_CODO"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CODNO" ADD CONSTRAINT "PK_CODNO" PRIMARY KEY
REM ("CODE_ID", "COD_CODO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CODV" ("CODE_ID" VARCHAR2(20) NOT NULL ENABLE,
REM "SEQNO" VARCHAR2(2) NOT NULL ENABLE, "TYP_FLD" VARCHAR2(2), "FIX_VAL"
REM VARCHAR2(1), "CVALUE" VARCHAR2(100), "DSC_VAL" VARCHAR2(200),
REM "RAL_CODM" VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CODV" ON "CODV" ("CODE_ID" , "SEQNO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CODV" ADD CONSTRAINT "PK_CODV" PRIMARY KEY
REM ("CODE_ID", "SEQNO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMP" ("NUM_PS" VARCHAR2(12) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20), "COD_MITEM" VARCHAR2(20) NOT NULL ENABLE,
REM "NUM_ORD" VARCHAR2(16) NOT NULL ENABLE, "ROT_ORD" VARCHAR2(2) NOT
REM NULL ENABLE, "CLS_ORD" VARCHAR2(1), "COD_PRJ" VARCHAR2(5), "COD_APN"
REM VARCHAR2(5), "NUM_PCBTH" VARCHAR2(5), "QTY_MAKE" NUMBER(12, 3),
REM "QTY_REQ" NUMBER(12, 3), "DAT_ORD" VARCHAR2(8), "NUM_OPB"
REM VARCHAR2(3), "NUM_OPE" VARCHAR2(3), "DSC_WORK" VARCHAR2(2000),
REM "TYP_WORK" VARCHAR2(4), "COD_UNIT" VARCHAR2(3), "QTY_STR" NUMBER(7,
REM 0), "HUR_MGET" NUMBER(12, 4), "HUR_FAC" NUMBER(10, 3), "HUR_MEN"
REM NUMBER(10, 3), "LEV_TEC" VARCHAR2(4), "STN_WORK" VARCHAR2(8),
REM "STN_RECV" VARCHAR2(8), "DAT_BEGS" VARCHAR2(8), "HUR_BEGS"
REM VARCHAR2(4), "DAT_ENDS" VARCHAR2(8), "HUR_ENDS" VARCHAR2(4),
REM "DAT_BEGA" VARCHAR2(8), "HUR_BEGA" VARCHAR2(2), "TIM_BEGA"
REM VARCHAR2(6), "DAT_BEGPRD" VARCHAR2(8), "TIM_BEGPRD" VARCHAR2(6),
REM "DAT_ENDA" VARCHAR2(8), "TIM_ENDA" VARCHAR2(6), "HUR_ENDA"
REM VARCHAR2(2), "HUR_MENA" NUMBER(10, 3), "HUR_MENO" NUMBER(10, 3),
REM "HUR_FACA" NUMBER(10, 3), "HUR_RPT" NUMBER(10, 3), "QTY_RPT"
REM NUMBER(12, 3), "QTY_QC" NUMBER(12, 3), "QTY_RJT" NUMBER(12, 3),
REM "DAT_CLOSE" VARCHAR2(8), "STS_ORD" VARCHAR2(2), "DAT_PLAST"
REM VARCHAR2(8), "DSP_PROC" VARCHAR2(2000), "COD_PSMT" VARCHAR2(2),
REM "COD_PSAPN" VARCHAR2(2), "PS" VARCHAR2(200), "STS_MT" VARCHAR2(2),
REM "STS_TOOL" VARCHAR2(2), "PRSTRCD" VARCHAR2(60), "HUR_WRK" NUMBER(10,
REM 3), "COD_PCS" VARCHAR2(1), "STS_CLSB" VARCHAR2(2), "DAT_UNLCK"
REM VARCHAR2(8), "DAT_BEGT" VARCHAR2(8), "TIM_BEGT" VARCHAR2(6),
REM "DAT_STOP" VARCHAR2(8), "TIM_STOP" VARCHAR2(6), "FRM_ORD"
REM VARCHAR2(10), "ANS_WRK" VARCHAR2(2000), "GIV_MGET" NUMBER(12, 4),
REM "COD_MCHS" VARCHAR2(6), "QTY_UP" NUMBER(12, 3), "UNT_STK"
REM VARCHAR2(3), "LIN_PS" VARCHAR2(2), "TYP_COMP1" VARCHAR2(1),
REM "TYP_COMP2" VARCHAR2(1), "TYP_COMP3" VARCHAR2(1), "TYP_COMP4"
REM VARCHAR2(1), "TYP_COMP5" VARCHAR2(1), "TYP_COMP6" VARCHAR2(1),
REM "DAT_BGWK" VARCHAR2(8), "DAT_UP" VARCHAR2(8), "SER_PCS" VARCHAR2(20),
REM "COD_TOOL" VARCHAR2(6), "PS1" VARCHAR2(200), "PS2" VARCHAR2(200),
REM "PS3" VARCHAR2(200), "PS4" VARCHAR2(60), "PS5" VARCHAR2(60), "PS6"
REM VARCHAR2(60), "PS7" VARCHAR2(60), "PS8" VARCHAR2(60), "SEQ_OUTMS"
REM NUMBER(2, 0), "PS9" VARCHAR2(60), "QTY_CANDO" NUMBER(12, 3),
REM "QTY_RPBAD" NUMBER(12, 3), "QTY_IMOVI" NUMBER(12, 3), "QTY_IMOVO"
REM NUMBER(12, 3), "DPT_QC" VARCHAR2(8), "STS_MRTD" VARCHAR2(1),
REM "QTY_RTND" NUMBER(12, 3), "DAT_QCP" VARCHAR2(8), "EMP_KEYIN"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "DAT_LAST" VARCHAR2(8),
REM "EMP_LAST" VARCHAR2(8), "RSN_REDO" VARCHAR2(4), "DPT_RESP"
REM VARCHAR2(8), "DAT_BCLDS" VARCHAR2(8), "COD_MITEF" VARCHAR2(20),
REM "CNT_PAE19" NUMBER(3, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_MAKE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_STR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_MGET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_FAC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_MEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_MENA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_MENO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_FACA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_RPT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_RPT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_QC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_RJT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("HUR_WRK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("COD_PCS" DEFAULT 'M') ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("GIV_MGET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_UP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_CANDO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_RPBAD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_IMOVI" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_IMOVO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("QTY_RTND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMP" MODIFY ("CNT_PAE19" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IDX3_COMP" ON "COMP" ("COD_MITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX_COMP1" ON "COMP" ("PRSTRCD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_COMP" ON "COMP" ("NUM_PS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMP" ON "COMP" ("NUM_ORD" , "ROT_ORD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_COMP" ON "COMP" ("DAT_BEGS" , "DAT_ENDS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COMP" ADD CONSTRAINT "PK_COMP" PRIMARY KEY
REM ("NUM_ORD", "ROT_ORD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPIP" ("COMP_ID" VARCHAR2(20) NOT NULL
REM ENABLE, "COMP_NM" VARCHAR2(60), "COMP_IP" VARCHAR2(20), "ID_INVMM"
REM VARCHAR2(10), "PS1" VARCHAR2(60), "PS2" VARCHAR2(60), "PS3"
REM VARCHAR2(60), "POS_INVM" VARCHAR2(4), "POS_COM2" VARCHAR2(1),
REM "POS_MNY" VARCHAR2(1), "COD_DPT" VARCHAR2(8), "INV_PORT" VARCHAR2(1),
REM "CST_PORT" VARCHAR2(1), "WEG_PORT" VARCHAR2(1), "FORM_INVM"
REM VARCHAR2(2), "WEG_MODL" VARCHAR2(1), "RAT_CSTP" NUMBER(6, 0),
REM "CAN_EMPIO" VARCHAR2(1), "PATH_EDM" VARCHAR2(200), "PATH_EDC"
REM VARCHAR2(200), "MODL_ECR" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPIP" ON "COMPIP" ("COMP_ID" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COMPIP" ADD CONSTRAINT "PK_COMPIP" PRIMARY KEY
REM ("COMP_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPM" ("NUM_ORD" VARCHAR2(16) NOT NULL
REM ENABLE, "ROT_ORD" VARCHAR2(2) NOT NULL ENABLE, "NUM_MACH" VARCHAR2(8)
REM NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE INDEX "MFTEST"."IDX1_COMPM" ON "COMPM" ("NUM_MACH" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPM" ON "COMPM" ("NUM_ORD" , "ROT_ORD"
, "NUM_MACH" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."COMPM" ADD CONSTRAINT "PK_COMPM" PRIMARY KEY
REM ("NUM_ORD", "ROT_ORD", "NUM_MACH") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPONENT" ("SN" VARCHAR2(12), "ST"
REM VARCHAR2(2), "PART_NUMBER" VARCHAR2(8), "DRAWING_NUMBER" VARCHAR2(8),
REM "ENGLISH_PART_NAME" VARCHAR2(256), "PART_NAME" VARCHAR2(256), "SPEC"
REM VARCHAR2(256), "MAKER" VARCHAR2(256), "UNIT" VARCHAR2(256),
REM "BY_MATERIAL" VARCHAR2(256), "BY_CHARACTER" VARCHAR2(256), "VERSION"
REM VARCHAR2(3), "STARTEFFECTIVITYDATE" VARCHAR2(8), "ENDEFFECTIVITYDATE"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM CREATE TABLE "MFTEST"."COMPP" ("NUM_ORD" VARCHAR2(16) NOT NULL
REM ENABLE, "ROT_ORD" VARCHAR2(2) NOT NULL ENABLE, "COD_EMP" VARCHAR2(8)
REM NOT NULL ENABLE, "NUM_MACH" VARCHAR2(8), "COD_EGRP" VARCHAR2(4),
REM "DAT_WORK" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE INDEX "MFTEST"."IDX1_COMPP" ON "COMPP" ("COD_EMP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPP" ON "COMPP" ("NUM_ORD" , "ROT_ORD"
, "COD_EMP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."COMPP" ADD CONSTRAINT "PK_COMPP" PRIMARY KEY
REM ("NUM_ORD", "ROT_ORD", "COD_EMP") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPQ" ("NUM_PS" VARCHAR2(12) NOT NULL ENABLE,
REM "NUM_ORD" VARCHAR2(16) NOT NULL ENABLE, "SEQ_COMQ" VARCHAR2(6) NOT
REM NULL ENABLE, "COD_MITEM" VARCHAR2(20), "PCS_MITEM" VARCHAR2(20),
REM "SEQ_MITEM" VARCHAR2(30), "QTY_MITEM" NUMBER(12, 3), "SEQ_NO"
REM VARCHAR2(3) NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20), "PCS_ITEM"
REM VARCHAR2(20), "SEQ_ITEM" VARCHAR2(18), "QTY_ITEM" NUMBER(12, 3),
REM "REMARK" VARCHAR2(200), "NUM_MACH" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COMPQ" MODIFY ("QTY_MITEM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPQ" MODIFY ("QTY_ITEM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPQ" ON "COMPQ" ("NUM_PS" , "NUM_ORD" ,
"SEQ_COMQ" , "SEQ_NO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COMPQ" ADD CONSTRAINT "PK_COMPQ" PRIMARY KEY
REM ("NUM_PS", "NUM_ORD", "SEQ_COMQ", "SEQ_NO") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPQM" ("NUM_PS" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_ORD" VARCHAR2(16) NOT NULL ENABLE, "SEQ_COMQ"
REM VARCHAR2(6) NOT NULL ENABLE, "COD_MITEM" VARCHAR2(20), "PCS_MITEM"
REM VARCHAR2(20), "SEQ_MITEM" VARCHAR2(30), "QTY_MITEM" NUMBER(12, 3),
REM "NUM_MACH" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COMPQM" MODIFY ("QTY_MITEM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPQM" ON "COMPQM" ("NUM_PS" , "NUM_ORD"
, "SEQ_COMQ" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."COMPQM" ADD CONSTRAINT "PK_COMPQM" PRIMARY KEY
REM ("NUM_PS", "NUM_ORD", "SEQ_COMQ") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPR" ("NUM_COMR" VARCHAR2(12) NOT NULL
REM ENABLE, "BAT_COMR" VARCHAR2(2) NOT NULL ENABLE, "LIN_COMR"
REM VARCHAR2(2) NOT NULL ENABLE, "NUM_ORD" VARCHAR2(16) NOT NULL ENABLE,
REM "ROT_ORD" VARCHAR2(2) NOT NULL ENABLE, "NUM_OP" VARCHAR2(3) NOT NULL
REM ENABLE, "COD_QC" VARCHAR2(4), "STS_COMR" VARCHAR2(2), "QTY_RSN"
REM NUMBER(12, 4), "QTY_STD" NUMBER(12, 4), "DAT_COMR" VARCHAR2(8),
REM "EMP_COMR" VARCHAR2(8), "NO_SEQ" VARCHAR2(30), "PS1" VARCHAR2(20),
REM "PS2" VARCHAR2(20), "PS3" VARCHAR2(20), "PS4" VARCHAR2(20), "PS5"
REM VARCHAR2(20), "PSN1" NUMBER(24, 4), "PSN2" NUMBER(24, 4), "PSN3"
REM NUMBER(24, 4), "NUM_PAL" VARCHAR2(10), "TIM_BEG" VARCHAR2(6),
REM "TIM_END" VARCHAR2(6), "SEC_ACTU" NUMBER(10, 4)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COMPR" MODIFY ("QTY_RSN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPR" MODIFY ("QTY_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPR" MODIFY ("PSN1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPR" MODIFY ("PSN2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPR" MODIFY ("PSN3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPR" MODIFY ("SEC_ACTU" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_COMPR" ON "COMPR" ("NO_SEQ" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_COMPR" ON "COMPR" ("NUM_ORD" , "ROT_ORD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPR" ON "COMPR" ("NUM_COMR" ,
"BAT_COMR" , "LIN_COMR" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COMPR" ADD CONSTRAINT "PK_COMPR" PRIMARY KEY
REM ("NUM_COMR", "BAT_COMR", "LIN_COMR") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COMPS" ("NUM_ORD" VARCHAR2(16) NOT NULL
REM ENABLE, "ROT_ORD" VARCHAR2(2) NOT NULL ENABLE, "ITM_SIZ" VARCHAR2(2)
REM NOT NULL ENABLE, "SIZ_L" NUMBER(8, 2), "SIZ_W" NUMBER(8, 2), "SIZ_D"
REM NUMBER(8, 2), "SIZ_R" NUMBER(8, 2), "SIZ_B" NUMBER(8, 2), "SIZ_S"
REM NUMBER(8, 2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COMPS" MODIFY ("SIZ_L" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPS" MODIFY ("SIZ_W" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPS" MODIFY ("SIZ_D" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPS" MODIFY ("SIZ_R" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPS" MODIFY ("SIZ_B" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COMPS" MODIFY ("SIZ_S" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COMPS" ON "COMPS" ("NUM_ORD" , "ROT_ORD"
, "ITM_SIZ" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."COMPS" ADD CONSTRAINT "PK_COMPS" PRIMARY KEY
REM ("NUM_ORD", "ROT_ORD", "ITM_SIZ") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COND" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_PO" VARCHAR2(16) NOT NULL ENABLE, "NUM_RFF"
REM VARCHAR2(12), "LIN_PO" VARCHAR2(3) NOT NULL ENABLE, "LIN_COND"
REM VARCHAR2(3) NOT NULL ENABLE, "TYP_COND" VARCHAR2(2), "DAT_ARMM"
REM VARCHAR2(8), "MNY_ARMD" NUMBER(14, 4), "COD_DOLA" VARCHAR2(3),
REM "RAT_COND" NUMBER(6, 2), "TAX_TYPE" VARCHAR2(2), "MNY_TCKET"
REM NUMBER(14, 4), "NUM_TCKET" VARCHAR2(25), "LIN_TCKET" VARCHAR2(5),
REM "DAT_TCKET" VARCHAR2(8), "NUM_ARMM" VARCHAR2(12), "STS_COND"
REM VARCHAR2(2), "MNY_BALN" NUMBER(14, 4), "MNY_ARMM" NUMBER(14, 4),
REM "VAL_RATE" NUMBER(9, 4), "MNY_RCV" NUMBER(14, 4), "REMARK"
REM VARCHAR2(200), "CLS_ARMM" VARCHAR2(3), "DAT_CONF" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "COD_PAYM" VARCHAR2(2), "DAT_TCKETP"
REM VARCHAR2(8), "LIN_ARMD" VARCHAR2(3), "DAT_2AR" VARCHAR2(8), "EMP_2AR"
REM VARCHAR2(8), "DAT_XFIN" VARCHAR2(8), "EMP_XFIN" VARCHAR2(8),
REM "AMT_XFIN" NUMBER(14, 4), "DAT_X2AR" VARCHAR2(8), "EMP_X2AR"
REM VARCHAR2(8), "MNY_DISM" NUMBER(14, 4), "NUM_DISM" VARCHAR2(12),
REM "DAT_DISM" VARCHAR2(8), "NUM_CASE" VARCHAR2(16), "DAT_CLOSE"
REM VARCHAR2(8), "EMP_CLOSE" VARCHAR2(8), "DSC_CLOSE" VARCHAR2(200),
REM "PS1" VARCHAR2(200), "PS2" VARCHAR2(200), "PS3" VARCHAR2(200),
REM "PS_N1" NUMBER(15, 4), "PS_N2" NUMBER(15, 4), "PS_N3" NUMBER(15, 4),
REM "TYP_CLOSE" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("MNY_ARMD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("RAT_COND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("MNY_TCKET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("MNY_BALN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("MNY_ARMM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("MNY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("AMT_XFIN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("MNY_DISM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COND" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_COND" ON "COND" ("NUM_TCKET" , "DAT_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_COND" ON "COND" ("COD_CUST" , "NUM_PO" ,
"LIN_PO" , "LIN_COND" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_COND" ON "COND" ("NUM_DISM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COND" ADD CONSTRAINT "PK_COND" PRIMARY KEY
REM ("COD_CUST", "NUM_PO", "LIN_PO", "LIN_COND") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CONG" ("NUM_CONG" VARCHAR2(12) NOT NULL
REM ENABLE, "NAM_CONG" VARCHAR2(12), "NUM_CONM" VARCHAR2(16), "NAM_CUST"
REM VARCHAR2(100), "TYP_CONG" VARCHAR2(3), "MNY_CONG" NUMBER(14, 4),
REM "COD_DOLA" VARCHAR2(3), "VAL_RATE" NUMBER(9, 4), "DAT_VEND"
REM VARCHAR2(8), "CLS_TRN" VARCHAR2(2), "REMARK" VARCHAR2(400), "NUM_TRN"
REM VARCHAR2(12), "LIN_TRN" VARCHAR2(5), "STS_CONG" VARCHAR2(2),
REM "COD_LOAN" VARCHAR2(30), "DAT_KEYIN" VARCHAR2(8), "UID_KEYIN"
REM VARCHAR2(8), "DAT_2LOAN" VARCHAR2(8), "UID_2LOAN" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CONG" MODIFY ("MNY_CONG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."CONG" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CONG" ON "CONG" ("NUM_CONG" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CONG" ADD CONSTRAINT "PK_CONG" PRIMARY KEY
REM ("NUM_CONG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CONM" ("NUM_CONM" VARCHAR2(16) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(12), "NUM_PO" VARCHAR2(16), "NAM_CONM"
REM VARCHAR2(40), "DAT_CONM" VARCHAR2(8), "MNY_CONM" NUMBER(14, 4),
REM "DOC_CONM" VARCHAR2(20), "DAT_PLAN" VARCHAR2(8), "TYP_CONM"
REM VARCHAR2(2), "STS_CONM" VARCHAR2(2), "CLS_TRN" VARCHAR2(2),
REM "EMP_KEYIN" VARCHAR2(8), "EMP_APLY" VARCHAR2(8), "DAT_SIGN"
REM VARCHAR2(8), "DAT_STAMP" VARCHAR2(8), "DAT_FILE" VARCHAR2(8),
REM "DSC_CONM" VARCHAR2(2000), "DPT_CONM" VARCHAR2(8), "YEAR_CONT"
REM VARCHAR2(3), "SRV_CONM" VARCHAR2(4), "COD_PAYMT" VARCHAR2(4),
REM "REMARK" VARCHAR2(2000), "DAT_CEND" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "UID_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8), "CON_TRAN"
REM VARCHAR2(4), "NOW_CONM" VARCHAR2(2), "DAT_STSU" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CONM" MODIFY ("MNY_CONM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_CONM" ON "CONM" ("COD_CUST" , "NUM_PO"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CONM" ON "CONM" ("NUM_CONM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CONM" ADD CONSTRAINT "PK_CONM" PRIMARY KEY
REM ("NUM_CONM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COST" ("SN" VARCHAR2(12), "ST" VARCHAR2(2),
REM "PART_NUMBER" VARCHAR2(8), "COST" NUMBER(8, 3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM CREATE TABLE "MFTEST"."COSTID" ("NUM_GETB" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_GETB" VARCHAR2(3) NOT NULL ENABLE, "NUM_BUY"
REM VARCHAR2(14), "LIN_BUY" VARCHAR2(3), "COD_FACT" VARCHAR2(12),
REM "NUM_RCV" VARCHAR2(14), "LIN_INVO" VARCHAR2(3), "COD_ITEM"
REM VARCHAR2(20), "QTY_GETB" NUMBER(11, 3), "UNT_GETB" VARCHAR2(3),
REM "MNY_AMT" NUMBER(17, 4), "MNY_SAVE" NUMBER(17, 4), "MNY_SND"
REM NUMBER(17, 4), "MNY_PART" NUMBER(17, 4), "MNY_AMTNT" NUMBER(17, 4),
REM "MNY_UNTNT" NUMBER(14, 4), "MNY_COST" NUMBER(14, 4), "CLS_TRN"
REM VARCHAR2(2), "NUM_TRN" VARCHAR2(12), "LIN_TRN" VARCHAR2(5), "DAT_ARR"
REM VARCHAR2(8), "MNY_TAX" NUMBER(17, 4), "NUM_CASE" VARCHAR2(16),
REM "COD_TAXI" VARCHAR2(20), "RAT_TAXI" NUMBER(7, 3), "DOC_CONM"
REM VARCHAR2(20)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("QTY_GETB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_SAVE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_SND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_PART" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_UNTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("MNY_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTID" MODIFY ("RAT_TAXI" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COSTID" ON "COSTID" ("NUM_GETB" ,
"LIN_GETB" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_COSTID" ON "COSTID" ("COD_FACT" ,
"NUM_RCV" , "LIN_INVO" , "NUM_TRN" , "LIN_TRN" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COSTID" ADD CONSTRAINT "PK_COSTID" PRIMARY KEY
REM ("NUM_GETB", "LIN_GETB") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COSTIF" ("NUM_GETB" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_CSTF" VARCHAR2(3) NOT NULL ENABLE, "TYP_CSTF"
REM VARCHAR2(3), "COD_FACT" VARCHAR2(13), "NUM_BILL" VARCHAR2(25),
REM "DAT_BILL" VARCHAR2(8), "COD_DOLA" VARCHAR2(3), "VAL_RATE" NUMBER(9,
REM 4), "TAX_TYPE" VARCHAR2(2), "MNY_AMT" NUMBER(17, 4), "TOT_AMT"
REM NUMBER(17, 4), "MNY_AMTNT" NUMBER(17, 4), "TOT_AMTNT" NUMBER(17, 4),
REM "SHR_CSTF" VARCHAR2(2), "BEL_CSTF" VARCHAR2(2), "CLS_ARMM"
REM VARCHAR2(3), "NUM_ARMM" VARCHAR2(12), "LIN_ARMD" VARCHAR2(5),
REM "FRM_SYS" VARCHAR2(2), "NUM_CHGM" VARCHAR2(12), "LIN_CHGM"
REM VARCHAR2(5), "FACT_BILL" VARCHAR2(10), "MNY_CHGM" NUMBER(17, 4),
REM "TOT_CHGM" NUMBER(17, 4), "IS_PLN" VARCHAR2(1), "TYP_INVM"
REM VARCHAR2(2), "DPT_CTL" VARCHAR2(8), "CHK_PAYM" VARCHAR2(2),
REM "DAT_PLAN" VARCHAR2(8), "NUM_CASE" VARCHAR2(16), "COD_DEP"
REM VARCHAR2(8), "REMARK" VARCHAR2(600), "NUM_REG" VARCHAR2(20), "PS_N1"
REM NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4), "PS_N4"
REM NUMBER(17, 4), "PS_N5" NUMBER(17, 4), "UID_ADD" VARCHAR2(8),
REM "DTM_ADD" VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("TOT_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("TOT_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("MNY_CHGM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("TOT_CHGM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("PS_N2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("PS_N3" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("PS_N4" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIF" MODIFY ("PS_N5" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COSTIF" ON "COSTIF" ("NUM_GETB" ,
"LIN_CSTF" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."COSTIF" ADD CONSTRAINT "PK_COSTIF" PRIMARY KEY
REM ("NUM_GETB", "LIN_CSTF") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COSTIM" ("NUM_GETB" VARCHAR2(20) NOT NULL
REM ENABLE, "NUM_GETS" VARCHAR2(20), "DAT_SND" VARCHAR2(8), "NUM_SND"
REM VARCHAR2(20), "SND_FACT" VARCHAR2(12), "NUM_RCV" VARCHAR2(14),
REM "NUM_ARMM" VARCHAR2(14), "DAT_RCV" VARCHAR2(8), "NUM_ADVI"
REM VARCHAR2(14), "DAT_ADVI" VARCHAR2(8), "NUM_LC" VARCHAR2(30), "RAT_LC"
REM NUMBER(9, 4), "PER_LC" NUMBER(3, 0), "COD_FACT" VARCHAR2(12),
REM "NUM_INVO" VARCHAR2(14), "MNY_AMT" NUMBER(17, 4), "COD_DOLA"
REM VARCHAR2(3), "RAT_INVO" NUMBER(9, 4), "MNY_SAVE" NUMBER(17, 4),
REM "MNY_SND" NUMBER(17, 4), "MNY_TRN1" NUMBER(12, 3), "MNY_PROC"
REM NUMBER(12, 3), "MNY_TRN2" NUMBER(12, 3), "MNY_CMB" NUMBER(12, 3),
REM "MNY_STK" NUMBER(12, 3), "MNY_MON" NUMBER(12, 3), "MNY_CHK"
REM NUMBER(12, 3), "MNY_KY" NUMBER(12, 3), "MNY_ELSE" NUMBER(12, 3),
REM "MNY_BUS" NUMBER(12, 3), "MNY_UPL" NUMBER(12, 3), "MNY_CAR"
REM NUMBER(12, 3), "NUM_BUY" VARCHAR2(14), "NUM_REQ" VARCHAR2(14),
REM "EMP_KEY" VARCHAR2(8), "DAT_KEY" VARCHAR2(8), "REMARK"
REM VARCHAR2(2000), "NUM_DARMM" VARCHAR2(12), "FACT_T2" VARCHAR2(10),
REM "DOLA_T1" VARCHAR2(3), "RAT_T1" NUMBER(9, 4), "MNY_T1US" NUMBER(12,
REM 3), "COD_QUT" VARCHAR2(3), "NUM_IMP" VARCHAR2(20), "DAT_SHIP"
REM VARCHAR2(8), "NAM_BOAT" VARCHAR2(40), "COD_XFER" VARCHAR2(2),
REM "DAT_2PORT" VARCHAR2(8), "SND_FROM" VARCHAR2(7), "SND_TO"
REM VARCHAR2(7), "DAT_TAX" VARCHAR2(8), "TYP_DECL" VARCHAR2(2),
REM "RUL_DUTY" VARCHAR2(2), "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4),
REM "PS_N3" NUMBER(17, 4), "PS_N4" NUMBER(17, 4), "MNY_TAX" NUMBER(17,
REM 4), "MATERIAL" NUMBER(16, 4), "NET_WGT" NUMBER(14, 6), "CNT_WGT"
REM NUMBER(14, 6), "CNT_CNO" NUMBER(12, 2), "PALLET_N" NUMBER(16, 6),
REM "CNT_CUPB" NUMBER(16, 6), "DSC_CUPBT" VARCHAR2(200), "COST_FROM"
REM VARCHAR2(2), "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 131072
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("RAT_LC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("PER_LC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("RAT_INVO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_SAVE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_SND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_TRN1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_TRN2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_CMB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_MON" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_CHK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_KY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_ELSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_BUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_UPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_CAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("RAT_T1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_T1US" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MNY_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("MATERIAL" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("NET_WGT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("CNT_WGT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("CNT_CNO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("PALLET_N" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("CNT_CUPB" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."COSTIM" MODIFY ("COST_FROM" DEFAULT '10' ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COSTIM" ON "COSTIM" ("NUM_GETB" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COSTIM" ADD CONSTRAINT "PK_COSTIM" PRIMARY KEY
REM ("NUM_GETB") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."COSTIS" ("NUM_GETB" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_GETB" VARCHAR2(3) NOT NULL ENABLE, "LIN_EVT" VARCHAR2(2)
REM NOT NULL ENABLE, "TYP_EVT" VARCHAR2(2), "DAT_EVT" VARCHAR2(8),
REM "MNY_SHR1" NUMBER(17, 4), "MNY_SHR2" NUMBER(17, 4), "MNY_SHR3"
REM NUMBER(17, 4), "MNY_SHR4" NUMBER(17, 4), "MNY_SHR5" NUMBER(17, 4),
REM "MNY_SHR6" NUMBER(17, 4), "MNY_SHR7" NUMBER(17, 4), "MNY_SHR8"
REM NUMBER(17, 4), "MNY_SHR9" NUMBER(17, 4), "MNY_SHRX" NUMBER(17, 4),
REM "REMARK" VARCHAR2(60), "DAT_PROC" VARCHAR2(8), "EMP_PROC"
REM VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR6" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR7" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR8" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHR9" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."COSTIS" MODIFY ("MNY_SHRX" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_COSTIS" ON "COSTIS" ("NUM_GETB" ,
"LIN_GETB" , "LIN_EVT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."COSTIS" ADD CONSTRAINT "PK_COSTIS" PRIMARY KEY
REM ("NUM_GETB", "LIN_GETB", "LIN_EVT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CPCD" ("NUM_CUST" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(10), "COD_PAY" VARCHAR2(2) NOT NULL
REM ENABLE, "DSC_PAY" VARCHAR2(30)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CPCD" ON "CPCD" ("NUM_CUST" , "COD_PAY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CPCD" ADD CONSTRAINT "PK_CPCD" PRIMARY KEY
REM ("NUM_CUST", "COD_PAY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CPSM" ("NUM_PS" VARCHAR2(12) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20), "NUM_ORD" VARCHAR2(16) NOT NULL ENABLE,
REM "ROT_ORD" VARCHAR2(2) NOT NULL ENABLE, "COD_MITEM" VARCHAR2(20),
REM "STN_WORK" VARCHAR2(8), "QTY_MAKE" NUMBER(10, 3), "COD_ITEMD"
REM VARCHAR2(20) NOT NULL ENABLE, "QTY_STD" NUMBER(8, 0), "RAT_FAL"
REM NUMBER(6, 2), "QTY_STDA" NUMBER(8, 0), "QTY_APLY" NUMBER(11, 2),
REM "QTY_SUPYA" NUMBER(11, 2), "QTY_RTND" NUMBER(11, 2), "RAT_FALA"
REM NUMBER(6, 2), "MNY_PRS" NUMBER(15, 4), "CST_PRS" NUMBER(17, 4),
REM "CST_PRA" NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("QTY_MAKE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("QTY_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("RAT_FAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("QTY_STDA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("QTY_APLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("QTY_SUPYA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("QTY_RTND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("RAT_FALA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("MNY_PRS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("CST_PRS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CPSM" MODIFY ("CST_PRA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CPSM" ON "CPSM" ("NUM_PS" , "NUM_ORD" ,
"ROT_ORD" , "COD_ITEMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CPSM" ADD CONSTRAINT "PK_CPSM" PRIMARY KEY
REM ("NUM_PS", "NUM_ORD", "ROT_ORD", "COD_ITEMD") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CQTD" ("NUM_CQTM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_CQTM" VARCHAR2(4) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10), "CST_SYS" VARCHAR2(8), "COD_ITEM" VARCHAR2(20),
REM "QTY_CRDT" NUMBER(12, 3), "QTY_DEL" NUMBER(12, 3), "DAT_CQTB"
REM VARCHAR2(8), "DAT_CQTE" VARCHAR2(8), "STS_CQTD" VARCHAR2(2),
REM "DAT_CONF" VARCHAR2(8), "EMP_CONF" VARCHAR2(8), "REMARK"
REM VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CQTD" MODIFY ("QTY_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CQTD" MODIFY ("QTY_DEL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CQTD" ON "CQTD" ("NUM_CQTM" , "LIN_CQTM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CQTD" ADD CONSTRAINT "PK_CQTD" PRIMARY KEY
REM ("NUM_CQTM", "LIN_CQTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CQTM" ("NUM_CQTM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CQTM" VARCHAR2(8), "EMP_CQTM" VARCHAR2(8), "DPT_CQTM"
REM VARCHAR2(8), "COD_CQTM" VARCHAR2(2), "REMARK" VARCHAR2(200)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CQTM" ON "CQTM" ("NUM_CQTM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CQTM" ADD CONSTRAINT "PK_CQTM" PRIMARY KEY
REM ("NUM_CQTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CRDG" ("NUM_CRDT" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_CRDT" VARCHAR2(2) NOT NULL ENABLE, "CLS_CRDG"
REM VARCHAR2(2), "COD_CRDG" VARCHAR2(2), "REMARK" VARCHAR2(200),
REM "GET_GRAD" NUMBER(3, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CRDG" MODIFY ("GET_GRAD" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CRDG" ON "CRDG" ("NUM_CRDT" , "LIN_CRDT"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CRDG" ADD CONSTRAINT "PK_CRDG" PRIMARY KEY
REM ("NUM_CRDT", "LIN_CRDT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CRDT" ("NUM_CRDT" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_APLY" VARCHAR2(8), "EMP_APLY" VARCHAR2(8), "COD_CUST"
REM VARCHAR2(10), "AMT_OLD" NUMBER(12, 0), "AMT_NEW" NUMBER(12, 0), "PS"
REM VARCHAR2(2000), "DAT_CONF" VARCHAR2(8), "EMP_CONF" VARCHAR2(8),
REM "STS_CRDT" VARCHAR2(2), "RSN_CRDT" VARCHAR2(2), "AMT_CONF" NUMBER(12,
REM 0), "DPT_CTL" VARCHAR2(8), "DAT_FBEG" VARCHAR2(8), "DAT_FEND"
REM VARCHAR2(8), "CNT_ONCA" NUMBER(3, 0), "CLS_TRN" VARCHAR2(2),
REM "NUM_TRN" VARCHAR2(12), "LIN_TRN" VARCHAR2(5), "DAT_CANCEL"
REM VARCHAR2(8), "UID_CANCEL" VARCHAR2(8), "DSC_CANCEL" VARCHAR2(200))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CRDT" MODIFY ("AMT_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CRDT" MODIFY ("AMT_NEW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CRDT" MODIFY ("AMT_CONF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CRDT" MODIFY ("CNT_ONCA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CRDT" ON "CRDT" ("NUM_CRDT" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CRDT" ADD CONSTRAINT "PK_CRDT" PRIMARY KEY
REM ("NUM_CRDT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CREBA" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_PAYM" VARCHAR2(2) NOT NULL ENABLE, "DAT_BEG" VARCHAR2(8)
REM NOT NULL ENABLE, "DAT_END" VARCHAR2(8) NOT NULL ENABLE, "RAT_REBA"
REM NUMBER(6, 3), "EMP_UPD" VARCHAR2(8), "DAT_EMP" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CREBA" MODIFY ("RAT_REBA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CREBA" ON "CREBA" ("COD_CUST" ,
"COD_PAYM" , "DAT_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CREBA" ADD CONSTRAINT "PK_CREBA" PRIMARY KEY
REM ("COD_CUST", "COD_PAYM", "DAT_BEG") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALC" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALM" VARCHAR2(4) NOT NULL ENABLE, "TYP_SALC"
REM VARCHAR2(3), "DAT_SALC" VARCHAR2(8), "AMT_SALC" NUMBER(12, 0),
REM "REMARK" VARCHAR2(100), "LIN_SALC" VARCHAR2(3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALC" ON "CSALC" ("NUM_SALM" ,
"LIN_SALM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSALC" ADD CONSTRAINT "PK_CSALC" PRIMARY KEY
REM ("NUM_SALM", "LIN_SALM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALG" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "NAM_SALM" VARCHAR2(40), "DAT_SALB" VARCHAR2(8), "DAT_SALE"
REM VARCHAR2(8), "DAT_BEG" VARCHAR2(8), "DAT_EFFB" VARCHAR2(8),
REM "DAT_EFFE" VARCHAR2(8), "REBATE" NUMBER(6, 2), "RAT_ITM" NUMBER(6,
REM 2), "MNY_DM" NUMBER(8, 0), "MNY_HLD" NUMBER(8, 0), "MNY_SND"
REM NUMBER(8, 0), "MNY_LST" NUMBER(8, 0), "MNY_OTH" NUMBER(8, 0),
REM "COD_EMPL" VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "STS_SALG"
REM VARCHAR2(2), "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "NUM_CNTL"
REM VARCHAR2(16), "PS1" VARCHAR2(40), "PS2" VARCHAR2(200), "PS3"
REM VARCHAR2(40), "PS_N1" NUMBER(13, 3), "PS_N2" NUMBER(6, 3), "PS_N3"
REM NUMBER(13, 3), "TYP_SALG" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("REBATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("RAT_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("MNY_DM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("MNY_HLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("MNY_SND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("MNY_LST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("MNY_OTH" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALG" ON "CSALG" ("NUM_SALM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSALG" ADD CONSTRAINT "PK_CSALG" PRIMARY KEY
REM ("NUM_SALM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALG_POS" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "NAM_SALM" VARCHAR2(40), "DAT_SALB" VARCHAR2(8), "DAT_SALE"
REM VARCHAR2(8), "DAT_BEG" VARCHAR2(8), "DAT_EFFB" VARCHAR2(8),
REM "DAT_EFFE" VARCHAR2(8), "COD_EMPL" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "STS_SALG" VARCHAR2(2), "REBATE" NUMBER(6, 2), "RAT_ITM"
REM NUMBER(6, 2), "MNY_DM" NUMBER(8, 0), "MNY_HLD" NUMBER(8, 0),
REM "MNY_SND" NUMBER(8, 0), "MNY_LST" NUMBER(8, 0), "MNY_OTH" NUMBER(8,
REM 0), "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "NUM_CNTL"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("REBATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("RAT_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("MNY_DM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("MNY_HLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("MNY_SND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("MNY_LST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALG_POS" MODIFY ("MNY_OTH" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALG_POS" ON "CSALG_POS" ("NUM_SALM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSALG_POS" ADD CONSTRAINT "PK_CSALG_POS"
REM PRIMARY KEY ("NUM_SALM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALL" ("NUM_SALL" VARCHAR2(18) NOT NULL
REM ENABLE, "NAM_SALL" VARCHAR2(40), "CLS_SALL" VARCHAR2(2), "DAT_EFFB"
REM VARCHAR2(8), "DAT_EFFE" VARCHAR2(8), "COD_DPT" VARCHAR2(8),
REM "MNY_RANGB" NUMBER(17, 4), "MNY_RANGE" NUMBER(17, 4), "CNT_RANGE"
REM NUMBER(4, 0), "PRS_RANGE" NUMBER(17, 4), "COD_EMPL" VARCHAR2(8),
REM "DAT_KEYIN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "DAT_TRN"
REM VARCHAR2(8), "STS_SALL" VARCHAR2(2), "REMARK" VARCHAR2(400),
REM "UID_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "DIS_RANGE" NUMBER(5,
REM 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALL" MODIFY ("MNY_RANGB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALL" MODIFY ("MNY_RANGE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALL" MODIFY ("CNT_RANGE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALL" MODIFY ("PRS_RANGE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALL" MODIFY ("DIS_RANGE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALL" ON "CSALL" ("NUM_SALL" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSALL" ADD CONSTRAINT "PK_CSALL" PRIMARY KEY
REM ("NUM_SALL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALLD" ("NUM_SALL" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALL" VARCHAR2(2) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20), "QTY_SALL" NUMBER(3, 0), "PRS_SALL" NUMBER(13, 4),
REM "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALLD" MODIFY ("QTY_SALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALLD" MODIFY ("PRS_SALL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALLD" ON "CSALLD" ("NUM_SALL" ,
"LIN_SALL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSALLD" ADD CONSTRAINT "PK_CSALLD" PRIMARY KEY
REM ("NUM_SALL", "LIN_SALL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALM" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALG" VARCHAR2(3), "COD_ITEM" VARCHAR2(20), "COD_CUST"
REM VARCHAR2(10), "NUM_DPT" VARCHAR2(8), "DAT_SALB" VARCHAR2(8),
REM "DAT_SALE" VARCHAR2(8), "DAT_BEG" VARCHAR2(8), "TYP_SALM"
REM VARCHAR2(3), "AMT_SALM" NUMBER(15, 3), "DAT_EFFB" VARCHAR2(8),
REM "DAT_EFFE" VARCHAR2(8), "AMT_PLAN" NUMBER(12, 0), "QTY_PLAN"
REM NUMBER(8, 0), "COD_SALE" VARCHAR2(8), "QTY_ACTS" NUMBER(8, 0),
REM "MNY_ACTS" NUMBER(13, 3), "CST_ACTS" NUMBER(13, 3), "CST_SALS"
REM NUMBER(13, 3), "DAT_ACTS" VARCHAR2(8), "STS_SALM" VARCHAR2(2),
REM "PRS_SALE" NUMBER(15, 3), "QTY_FREE" NUMBER(8, 0), "EMP_CONF"
REM VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "QTY_PTO" NUMBER(11, 3),
REM "QTY_PFROM" NUMBER(11, 3), "CST_FROM" VARCHAR2(4), "CST_SYS"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "PS_CUST" VARCHAR2(10),
REM "COD_MODL" VARCHAR2(15), "DSC_SALES" NUMBER(6, 3), "PS_N1" NUMBER(15,
REM 3), "PS1" VARCHAR2(2000), "COD_IND" VARCHAR2(4), "DOC_CONM"
REM VARCHAR2(20), "OFF_DISC" NUMBER(5, 2)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("AMT_SALM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("AMT_PLAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("QTY_PLAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("QTY_ACTS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("MNY_ACTS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("CST_ACTS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("CST_SALS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("PRS_SALE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("QTY_FREE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("QTY_PTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("QTY_PFROM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("DSC_SALES" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM" MODIFY ("OFF_DISC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALM" ON "CSALM" ("NUM_SALM" ,
"LIN_SALG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_CSALM" ON "CSALM" ("COD_ITEM" , "DAT_EFFE" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSALM" ADD CONSTRAINT "PK_CSALM" PRIMARY KEY
REM ("NUM_SALM", "LIN_SALG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALM_POS" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALG" VARCHAR2(3), "COD_ITEM" VARCHAR2(20), "COD_CUST"
REM VARCHAR2(10), "NUM_DPT" VARCHAR2(8), "DAT_SALB" VARCHAR2(8),
REM "DAT_SALE" VARCHAR2(8), "DAT_BEG" VARCHAR2(8), "TYP_SALM"
REM VARCHAR2(3), "AMT_SALM" NUMBER(14, 2), "DAT_EFFB" VARCHAR2(8),
REM "DAT_EFFE" VARCHAR2(8), "AMT_PLAN" NUMBER(12, 0), "QTY_PLAN"
REM NUMBER(8, 0), "COD_SALE" VARCHAR2(8), "QTY_ACTS" NUMBER(8, 0),
REM "MNY_ACTS" NUMBER(12, 2), "CST_ACTS" NUMBER(12, 2), "CST_SALS"
REM NUMBER(12, 2), "DAT_ACTS" VARCHAR2(8), "STS_SALM" VARCHAR2(2),
REM "PRS_SALE" NUMBER(14, 2), "QTY_FREE" NUMBER(8, 0), "EMP_CONF"
REM VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "QTY_PTO" NUMBER(11, 3),
REM "QTY_PFROM" NUMBER(11, 3), "CST_FROM" VARCHAR2(4), "CST_SYS"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "PS_CUST" VARCHAR2(10),
REM "COD_MODL" VARCHAR2(15), "DSC_SALES" NUMBER(6, 3), "PS_N1" NUMBER(14,
REM 2), "PS1" VARCHAR2(2000), "COD_IND" VARCHAR2(4)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("AMT_SALM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("AMT_PLAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("QTY_PLAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("QTY_ACTS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("MNY_ACTS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("CST_ACTS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("CST_SALS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("PRS_SALE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("QTY_FREE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("QTY_PTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("QTY_PFROM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("DSC_SALES" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALM_POS" MODIFY ("PS_N1" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALM_POS" ON "CSALM_POS" ("NUM_SALM" ,
"LIN_SALG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSALM_POS" ADD CONSTRAINT "PK_CSALM_POS"
REM PRIMARY KEY ("NUM_SALM", "LIN_SALG") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALP" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALP" VARCHAR2(4) NOT NULL ENABLE, "LIN_SALC"
REM VARCHAR2(3), "TYP_SALC" VARCHAR2(3), "DAT_SALC" VARCHAR2(8),
REM "AMT_SALC" NUMBER(12, 0), "REMARK" VARCHAR2(100)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALP" ON "CSALP" ("NUM_SALM" ,
"LIN_SALP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSALP" ADD CONSTRAINT "PK_CSALP" PRIMARY KEY
REM ("NUM_SALM", "LIN_SALP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALS" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALG" VARCHAR2(3) NOT NULL ENABLE, "LIN_SALS"
REM VARCHAR2(3) NOT NULL ENABLE, "COD_ITMS" VARCHAR2(20), "TYP_SALS"
REM VARCHAR2(2), "QTY_ITMF" NUMBER(14, 3), "QTY_ITMT" NUMBER(14, 3),
REM "QTY_ITMB" NUMBER(14, 3), "QTY_FREE" NUMBER(14, 3), "TYP_POLN"
REM VARCHAR2(2), "REMARK" VARCHAR2(200), "PRS_SALS" NUMBER(14, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSALS" MODIFY ("QTY_ITMF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALS" MODIFY ("QTY_ITMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALS" MODIFY ("QTY_ITMB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALS" MODIFY ("QTY_FREE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSALS" MODIFY ("PRS_SALS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALS" ON "CSALS" ("NUM_SALM" ,
"LIN_SALG" , "LIN_SALS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSALS" ADD CONSTRAINT "PK_CSALS" PRIMARY KEY
REM ("NUM_SALM", "LIN_SALG", "LIN_SALS") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSALV" ("NUM_SALM" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_SALG" VARCHAR2(3) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10) NOT NULL ENABLE, "PRC_SALV" VARCHAR2(3), "REMARK"
REM VARCHAR2(100)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSALV" ON "CSALV" ("NUM_SALM" ,
"LIN_SALG" , "COD_CUST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSALV" ADD CONSTRAINT "PK_CSALV" PRIMARY KEY
REM ("NUM_SALM", "LIN_SALG", "COD_CUST") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSAR" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_CUSTG" VARCHAR2(10) NOT NULL ENABLE, "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSAR" ON "CSAR" ("COD_CUST" , "COD_CUSTG"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSAR" ADD CONSTRAINT "PK_CSAR" PRIMARY KEY
REM ("COD_CUST", "COD_CUSTG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSBLN" ("SER_NO" VARCHAR2(10) NOT NULL ENABLE,
REM "COD_ACCB" VARCHAR2(10), "COD_ACCE" VARCHAR2(10), "TYP_AMT"
REM VARCHAR2(2), "COL_BLN" VARCHAR2(20), "TYP_BLN" VARCHAR2(4), "REMARK"
REM VARCHAR2(100), "DAT_EFFB" VARCHAR2(8), "DAT_EFFE" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSBLN" ON "CSBLN" ("SER_NO" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSBLN" ADD CONSTRAINT "PK_CSBLN" PRIMARY KEY
REM ("SER_NO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSMON" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "SEQ_MON" NUMBER(2, 0) NOT NULL ENABLE, "DAY_MON"
REM VARCHAR2(2), "PAY_MON" VARCHAR2(2), "BEG_MON" VARCHAR2(2), "RCV_MON"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSMON" ON "CSMON" ("COD_CUST" , "SEQ_MON"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSMON" ADD CONSTRAINT "PK_CSMON" PRIMARY KEY
REM ("COD_CUST", "SEQ_MON") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTCD" ("NUM_CSTC" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_CSTM" VARCHAR2(12) NOT NULL ENABLE, "SER_CSTM"
REM VARCHAR2(2) NOT NULL ENABLE, "LIN_CSTM" VARCHAR2(3) NOT NULL ENABLE,
REM "COD_CSTC" VARCHAR2(2), "DSP_CSTC" VARCHAR2(100), "MOD_CSTC"
REM VARCHAR2(1), "STS_CSTC" VARCHAR2(2), "COD_ITEMO" VARCHAR2(30),
REM "COD_ITEM" VARCHAR2(20), "DPT_CTL" VARCHAR2(8), "QTY_BUY" NUMBER(11,
REM 3), "UNT_BUY" VARCHAR2(3), "UNT_PRICE" NUMBER(14, 5), "DAT_CSTD"
REM VARCHAR2(8), "TIM_CSTD" VARCHAR2(6), "POS_DEL" VARCHAR2(8), "ADR_DEL"
REM VARCHAR2(200), "REMARK" VARCHAR2(200), "STS_CSTD" VARCHAR2(2),
REM "COD_CUST" VARCHAR2(10), "NUM_FSTM" VARCHAR2(20), "LIN_FSTM"
REM VARCHAR2(2), "NUM_REQ" VARCHAR2(12), "LIN_REQ" VARCHAR2(3), "NUM_QUT"
REM VARCHAR2(12), "SER_QUT" VARCHAR2(2), "LIN_QUTD" VARCHAR2(2),
REM "NUM_SALM" VARCHAR2(18), "LIN_SALG" VARCHAR2(3), "QTY_POLN"
REM NUMBER(11, 3), "QTY_FSTD" NUMBER(11, 3), "QTY_CLDS" NUMBER(11, 3),
REM "QTY_2REQ" NUMBER(11, 3), "NUM_CASE" VARCHAR2(16), "CON_NUMC"
REM VARCHAR2(12), "CON_ITEM" VARCHAR2(30), "NUM_FROM" VARCHAR2(12),
REM "LIN_FROM" VARCHAR2(3), "BOM2CSTD" VARCHAR2(1), "COD_ANS"
REM VARCHAR2(2), "DAT_BPR" VARCHAR2(8), "COD_BPR" VARCHAR2(2), "DSP_BPR"
REM VARCHAR2(50), "QTY_BPR" NUMBER(11, 3), "PRS_BPR" NUMBER(14, 5),
REM "DAT_DELR" VARCHAR2(8), "STS_BPR" VARCHAR2(1), "NUM_EDIR"
REM VARCHAR2(10), "COD_FACT" VARCHAR2(8), "PS1" VARCHAR2(60), "PS2"
REM VARCHAR2(60), "PS3" VARCHAR2(60), "PS4" VARCHAR2(60), "PS5"
REM VARCHAR2(60), "PS_N1" NUMBER(15, 4), "PS_N2" NUMBER(15, 4), "PS_N3"
REM NUMBER(15, 4), "PS_N4" NUMBER(15, 4), "PS_N5" NUMBER(15, 4)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("UNT_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("QTY_POLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("QTY_FSTD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("QTY_CLDS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("QTY_2REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("QTY_BPR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("PRS_BPR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTCD" MODIFY ("PS_N5" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTCD" ON "CSTCD" ("NUM_CSTC" ,
"NUM_CSTM" , "SER_CSTM" , "LIN_CSTM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_CSTCD" ON "CSTCD" ("NUM_CSTM" , "SER_CSTM" ,
"LIN_CSTM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSTCD" ADD CONSTRAINT "PK_CSTCD" PRIMARY KEY
REM ("NUM_CSTC", "NUM_CSTM", "SER_CSTM", "LIN_CSTM") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTCM" ("NUM_CSTC" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CSTC" VARCHAR2(8), "COD_CSTC" VARCHAR2(2), "DSP_CSTC"
REM VARCHAR2(50), "STS_CSTC" VARCHAR2(2), "EMP_SIGN" VARCHAR2(8),
REM "DAT_SIGN" VARCHAR2(8), "EMP_KEYIN" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "NUM_CSTM" VARCHAR2(12), "SER_CSTM" VARCHAR2(2),
REM "DAT_CSTM" VARCHAR2(8), "EMP_CSTM" VARCHAR2(8), "TYP_CSTM"
REM VARCHAR2(2), "DPT_CSTM" VARCHAR2(8), "DSP_CSTM" VARCHAR2(40),
REM "CLS_CSTM" VARCHAR2(1), "COD_CUST" VARCHAR2(10), "NUM_FSTM"
REM VARCHAR2(20), "SER_FSTM" VARCHAR2(2), "COD_ATTN" VARCHAR2(30),
REM "NUM_TEL" VARCHAR2(25), "COD_PAYM" VARCHAR2(3), "COD_QUTD"
REM VARCHAR2(3), "CLS_DOLLA" VARCHAR2(3), "POS_DEL" VARCHAR2(8),
REM "ADDR_DEL" VARCHAR2(200), "DAT_CONF" VARCHAR2(8), "EMP_CONF"
REM VARCHAR2(8), "REMARK" VARCHAR2(2000), "STS_CSTM" VARCHAR2(2),
REM "NUM_EDIR" VARCHAR2(10), "NUM_EDSM" VARCHAR2(12), "DAT_BPR"
REM VARCHAR2(8), "COD_BPR" VARCHAR2(2), "DSP_BPR" VARCHAR2(50), "STS_BPR"
REM VARCHAR2(1), "DPT_CTL" VARCHAR2(8), "PS1" VARCHAR2(30), "PS2"
REM VARCHAR2(30), "PS3" VARCHAR2(30)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE INDEX "MFTEST"."IDX1_CSTCM" ON "CSTCM" ("NUM_CSTM" , "SER_CSTM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTCM" ON "CSTCM" ("NUM_CSTC" ,
"NUM_CSTM" , "SER_CSTM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSTCM" ADD CONSTRAINT "PK_CSTCM" PRIMARY KEY
REM ("NUM_CSTC", "NUM_CSTM", "SER_CSTM") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTD" ("NUM_CSTM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_CSTM" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEMO"
REM VARCHAR2(30), "COD_ITEM" VARCHAR2(20), "QTY_BUY" NUMBER(11, 3),
REM "UNT_BUY" VARCHAR2(3), "UNT_PRICE" NUMBER(14, 5), "DAT_CSTD"
REM VARCHAR2(8), "TIM_CSTD" VARCHAR2(6), "POS_DEL" VARCHAR2(4), "ADR_DEL"
REM VARCHAR2(200), "REMARK" VARCHAR2(200), "STS_CSTD" VARCHAR2(2),
REM "NUM_FSTM" VARCHAR2(20), "LIN_FSTM" VARCHAR2(2), "DAT_BPR"
REM VARCHAR2(8), "COD_BPR" VARCHAR2(2), "DSP_BPR" VARCHAR2(50), "STS_BPR"
REM VARCHAR2(1), "QTY_BPR" NUMBER(11, 3), "PRS_BPR" NUMBER(14, 5),
REM "DAT_DELR" VARCHAR2(8), "NUM_REQ" VARCHAR2(12), "LIN_REQ"
REM VARCHAR2(3), "COD_CUST" VARCHAR2(10), "NUM_EDIR" VARCHAR2(10),
REM "QTY_POLN" NUMBER(11, 3), "NUM_QUT" VARCHAR2(12), "SER_QUT"
REM VARCHAR2(2), "LIN_QUTD" VARCHAR2(2), "DPT_CTL" VARCHAR2(8),
REM "QTY_FSTD" NUMBER(11, 3), "QTY_CLDS" NUMBER(11, 3), "NUM_CASE"
REM VARCHAR2(16), "NUM_SALM" VARCHAR2(18), "LIN_SALG" VARCHAR2(3),
REM "CON_NUMC" VARCHAR2(12), "BOM2CSTD" VARCHAR2(1), "NUM_FROM"
REM VARCHAR2(12), "LIN_FROM" VARCHAR2(3), "CON_ITEM" VARCHAR2(30),
REM "COD_ANS" VARCHAR2(2), "QTY_2REQ" NUMBER(11, 3), "EMP_SALE"
REM VARCHAR2(8), "COD_DPT" VARCHAR2(8), "EMP_CLOSE" VARCHAR2(8),
REM "DAT_CLOSE" VARCHAR2(8), "STS_BYBOM" VARCHAR2(1), "COD_REQ"
REM VARCHAR2(3), "COD_FACT" VARCHAR2(8), "PS1" VARCHAR2(60), "PS2"
REM VARCHAR2(60), "PS3" VARCHAR2(60), "PS4" VARCHAR2(60), "PS5"
REM VARCHAR2(60), "PS_N1" NUMBER(15, 4), "PS_N2" NUMBER(15, 4), "PS_N3"
REM NUMBER(15, 4), "PS_N4" NUMBER(15, 4), "PS_N5" NUMBER(15, 4),
REM "QTY_NOTE" NUMBER(11, 3), "NUM_REQG" VARCHAR2(12), "NUM_BROWG"
REM VARCHAR2(12), "STR_ITEM" VARCHAR2(20), "STR_GROUP" VARCHAR2(12),
REM "STR_CLS1" VARCHAR2(4), "STR_CLS2" VARCHAR2(4), "STR_CLS3"
REM VARCHAR2(4), "STR_CLS4" VARCHAR2(4), "STR_CLS5" VARCHAR2(4),
REM "STR_CLS6" VARCHAR2(20), "STR_CLS7" VARCHAR2(4), "DAT_CONF"
REM VARCHAR2(8), "EMP_CONF" VARCHAR2(8), "PS_BPR" VARCHAR2(2000),
REM "DTM_CANCEL" VARCHAR2(8), "EMP_CANCEL" VARCHAR2(8), "DSC_CANCEL"
REM VARCHAR2(200), "NUM_2BROW" VARCHAR2(12)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("UNT_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_BPR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("PRS_BPR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_POLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_FSTD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_CLDS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_2REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("PS_N5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTD" MODIFY ("QTY_NOTE" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX2_CSTD" ON "CSTD" ("COD_ITEM" , "STS_CSTD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_CSTD" ON "CSTD" ("CON_NUMC" , "CON_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_CSTD" ON "CSTD" ("COD_CUST" , "NUM_FSTM" ,
"LIN_FSTM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTD" ON "CSTD" ("NUM_CSTM" , "LIN_CSTM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_CSTD" ON "CSTD" ("STS_CSTD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSTD" ADD CONSTRAINT "PK_CSTD" PRIMARY KEY
REM ("NUM_CSTM", "LIN_CSTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTFORG_MAIL" ("G_MAIL" VARCHAR2(100) NOT NULL
REM ENABLE, "MAIN_STS" VARCHAR2(2), "N_COUNT" NUMBER(8, 0), "MAIN_CUST"
REM VARCHAR2(10), "DAT_UPD" VARCHAR2(8), "UID_UPD" VARCHAR2(8), "DAT_INS"
REM VARCHAR2(8), "UID_INS" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSTFORG_MAIL" MODIFY ("N_COUNT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTFORG_MAIL" ON "CSTFORG_MAIL" ("G_MAIL"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSTFORG_MAIL" ADD CONSTRAINT "PK_CSTFORG_MAIL"
REM PRIMARY KEY ("G_MAIL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTM" ("NUM_CSTM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CSTM" VARCHAR2(8), "EMP_CSTM" VARCHAR2(8), "DPT_CSTM"
REM VARCHAR2(8), "DSP_CSTM" VARCHAR2(40), "CLS_CSTM" VARCHAR2(1),
REM "COD_CUST" VARCHAR2(10), "COD_ATTN" VARCHAR2(30), "NUM_TEL"
REM VARCHAR2(25), "COD_PAYM" VARCHAR2(3), "CLS_DOLLA" VARCHAR2(3),
REM "POS_DEL" VARCHAR2(4), "ADDR_DEL" VARCHAR2(200), "DAT_CONF"
REM VARCHAR2(8), "EMP_CONF" VARCHAR2(8), "REMARK" VARCHAR2(2000),
REM "STS_CSTM" VARCHAR2(2), "NUM_EDIR" VARCHAR2(10), "EMP_KEYIN"
REM VARCHAR2(8), "NUM_FSTM" VARCHAR2(20), "DAT_BPR" VARCHAR2(8),
REM "COD_BPR" VARCHAR2(2), "DSP_BPR" VARCHAR2(50), "STS_BPR" VARCHAR2(1),
REM "NUM_EDSM" VARCHAR2(12), "SER_FSTM" VARCHAR2(2), "COD_QUTD"
REM VARCHAR2(3), "DAT_KEYIN" VARCHAR2(8), "TYP_CSTM" VARCHAR2(2),
REM "SER_CSTM" VARCHAR2(2), "TIM_KEYIN" VARCHAR2(8), "DPT_CTL"
REM VARCHAR2(8), "PS1" VARCHAR2(30), "PS2" VARCHAR2(30), "PS3"
REM VARCHAR2(30)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE INDEX "MFTEST"."IDX1_CSTM" ON "CSTM" ("COD_CUST" , "NUM_FSTM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTM" ON "CSTM" ("NUM_CSTM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSTM" ADD CONSTRAINT "PK_CSTM" PRIMARY KEY
REM ("NUM_CSTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTM_IMP" ("NUM_CSTM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_CSTM" VARCHAR2(3) NOT NULL ENABLE, "DAT_CSTM"
REM VARCHAR2(8), "EMP_CSTM" VARCHAR2(8), "TYP_CSTM" VARCHAR2(2),
REM "NUM_CASE" VARCHAR2(16), "DPT_CTL" VARCHAR2(8), "DPT_CSTM"
REM VARCHAR2(8), "DSP_CSTM" VARCHAR2(40), "COD_CUST" VARCHAR2(10),
REM "NUM_FSTM" VARCHAR2(20), "SER_FSTM" VARCHAR2(2), "COD_ATTN"
REM VARCHAR2(30), "NUM_TEL" VARCHAR2(25), "COD_PAYM" VARCHAR2(3),
REM "COD_QUTD" VARCHAR2(3), "COD_ITEMO" VARCHAR2(30), "COD_ITEM"
REM VARCHAR2(20), "QTY_BUY" NUMBER(11, 3), "UNT_BUY" VARCHAR2(3),
REM "UNT_PRICE" NUMBER(14, 5), "CLS_DOLLA" VARCHAR2(3), "DAT_CSTD"
REM VARCHAR2(8), "POS_DEL" VARCHAR2(8), "ADDR_DEL" VARCHAR2(200),
REM "REMARK" VARCHAR2(200), "STS_CSTD" VARCHAR2(2), "CON_NUMC"
REM VARCHAR2(12), "CON_ITEM" VARCHAR2(30), "NUM_FROM" VARCHAR2(12),
REM "LIN_FROM" VARCHAR2(3), "EMP_SALE" VARCHAR2(8), "COD_DPT"
REM VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "EMP_CONF" VARCHAR2(8),
REM "STS2CSTM" VARCHAR2(2), "RFF_ITEM" VARCHAR2(30)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSTM_IMP" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CSTM_IMP" MODIFY ("UNT_PRICE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTM_IMP" ON "CSTM_IMP" ("NUM_CSTM" ,
"LIN_CSTM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSTM_IMP" ADD CONSTRAINT "PK_CSTM_IMP" PRIMARY
REM KEY ("NUM_CSTM", "LIN_CSTM") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTNO" ("COD_CSTO" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_CSTN" VARCHAR2(10), "SEQ_NO" NUMBER(6, 0), "DAT_CSTC"
REM VARCHAR2(8), "STS_CSTC" VARCHAR2(2), "MSG_CSTC" VARCHAR2(100),
REM "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "NAM_CSTN"
REM VARCHAR2(60), "NAM_CSTNS" VARCHAR2(20)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CSTNO" MODIFY ("SEQ_NO" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTNO" ON "CSTNO" ("COD_CSTO" ,
"COD_CSTN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CSTNO" ADD CONSTRAINT "PK_CSTNO" PRIMARY KEY
REM ("COD_CSTO", "COD_CSTN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CSTX" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "FLD_C1" VARCHAR2(3), "FLD_C2" VARCHAR2(3), "FLD_C3"
REM VARCHAR2(3), "FLD_C4" VARCHAR2(20), "FLD_C5" VARCHAR2(20), "FLD_C6"
REM VARCHAR2(20), "FLD_C7" VARCHAR2(20), "FLD_C8" VARCHAR2(20), "FLD_C9"
REM VARCHAR2(20), "FLD_C10" VARCHAR2(20), "FLD_C11" VARCHAR2(20),
REM "FLD_C12" VARCHAR2(20), "FLD_C13" VARCHAR2(20), "FLD_C14"
REM VARCHAR2(20), "FLD_C15" VARCHAR2(20), "FLD_PS1" VARCHAR2(120),
REM "FLD_PS2" VARCHAR2(100), "FLD_N1" NUMBER(17, 4), "FLD_N2" NUMBER(17,
REM 4), "FLD_N3" NUMBER(17, 4), "FLD_N4" NUMBER(17, 4), "FLD_N5"
REM NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CSTX" ON "CSTX" ("COD_CUST" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CSTX" ADD CONSTRAINT "PK_CSTX" PRIMARY KEY
REM ("COD_CUST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CTLD" ("NUM_CTLM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_CTLM" VARCHAR2(3) NOT NULL ENABLE, "CLS_TRNM"
REM VARCHAR2(12), "NUM_SRC" VARCHAR2(16), "LIN_SRC" VARCHAR2(3),
REM "COD_ITEM" VARCHAR2(20), "QTY_CTLM" NUMBER(12, 3), "NUM_CASE"
REM VARCHAR2(16), "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8), "QTY_CHG"
REM NUMBER(12, 3), "COD_LOCO" VARCHAR2(10), "COD_LOCI" VARCHAR2(10),
REM "QTY_CHGB" NUMBER(12, 3), "QTY_SUPY" NUMBER(12, 3), "DAT_CONF"
REM VARCHAR2(8), "EMP_CONF" VARCHAR2(8), "STS_CTLD" VARCHAR2(2),
REM "COD_CUST" VARCHAR2(13), "SER_PCS" VARCHAR2(20)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CTLD" MODIFY ("QTY_CTLM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTLD" MODIFY ("QTY_CHG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTLD" MODIFY ("QTY_CHGB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTLD" MODIFY ("QTY_SUPY" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_CTLD" ON "CTLD" ("NUM_CASE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CTLD" ON "CTLD" ("NUM_CTLM" , "LIN_CTLM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CTLD" ADD CONSTRAINT "PK_CTLD" PRIMARY KEY
REM ("NUM_CTLM", "LIN_CTLM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CTLM" ("NUM_CTLM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_CTLM" VARCHAR2(8), "DPT_CTLM" VARCHAR2(8), "EMP_CTLM"
REM VARCHAR2(8), "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "STS_CTLM"
REM VARCHAR2(2), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_CTLM" ON "CTLM" ("NUM_CTLM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CTLM" ADD CONSTRAINT "PK_CTLM" PRIMARY KEY
REM ("NUM_CTLM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CTYPP" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(10) NOT NULL ENABLE, "LIN_CTYP"
REM VARCHAR2(12) NOT NULL ENABLE, "TYP_POLN" VARCHAR2(3), "COD_CDPT"
REM VARCHAR2(7), "COD_QUTD" VARCHAR2(3), "LEV_CUST" VARCHAR2(3),
REM "QTY_BEG" NUMBER(11, 3), "QTY_END" NUMBER(11, 3), "DAT_BEG"
REM VARCHAR2(12), "DAT_END" VARCHAR2(12), "COD_UNIT" VARCHAR2(3),
REM "PRS_CTYP" NUMBER(14, 5), "PRS_CTYPO" NUMBER(16, 7), "COD_DOLA"
REM VARCHAR2(3), "RAT_CTYP" NUMBER(9, 4), "REMARK" VARCHAR2(200),
REM "NUM_CNTL" VARCHAR2(16), "CLS_LEV" VARCHAR2(3), "RAT_BOUS" NUMBER(8,
REM 4), "CST_MANG" NUMBER(13, 4), "TYP_LEV1" VARCHAR2(12), "TYP_LEV2"
REM VARCHAR2(4), "TYP_LEV3" VARCHAR2(4), "CST_SYS" VARCHAR2(8), "CNT_ALL"
REM NUMBER(3, 0), "CST_FROM" VARCHAR2(4), "COD_IND" VARCHAR2(4),
REM "PRS_TYPE" VARCHAR2(20), "COD_MODL" VARCHAR2(15), "PRS_ADV"
REM NUMBER(16, 7), "SAL_DISC" NUMBER(6, 3), "DPT_CTL" VARCHAR2(8),
REM "DAT_EFFP" VARCHAR2(8), "STS_CTYPP" VARCHAR2(2), "DAT_UPD"
REM VARCHAR2(8), "EMP_UPD" VARCHAR2(8), "DAT_CONF" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "COD_DPT" VARCHAR2(8), "TYP_CTYPP"
REM VARCHAR2(4), "NUM_CASE" VARCHAR2(16), "NUM_DSC" VARCHAR2(12),
REM "CTYPP_PROC" VARCHAR2(2), "NUM_SALM" VARCHAR2(18), "LIN_SALG"
REM VARCHAR2(3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("QTY_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("QTY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("PRS_CTYP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("PRS_CTYPO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("RAT_CTYP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("RAT_BOUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("CST_MANG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("CNT_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("PRS_ADV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("SAL_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP" MODIFY ("STS_CTYPP" DEFAULT '00') ;
CREATE INDEX "MFTEST"."IDX1_CTYPP" ON "CTYPP" ("COD_CUST" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CTYPP" ON "CTYPP" ("COD_ITEM" ,
"COD_CUST" , "LIN_CTYP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CTYPP" ADD CONSTRAINT "PK_CTYPP" PRIMARY KEY
REM ("COD_ITEM", "COD_CUST", "LIN_CTYP") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CTYPP_POS" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(10) NOT NULL ENABLE, "LIN_CTYP"
REM VARCHAR2(4) NOT NULL ENABLE, "TYP_POLN" VARCHAR2(3), "COD_CDPT"
REM VARCHAR2(7), "COD_QUTD" VARCHAR2(3), "LEV_CUST" VARCHAR2(3),
REM "QTY_BEG" NUMBER(11, 3), "QTY_END" NUMBER(11, 3), "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8), "COD_UNIT" VARCHAR2(3),
REM "PRS_CTYP" NUMBER(14, 5), "PRS_CTYPO" NUMBER(16, 7), "COD_DOLA"
REM VARCHAR2(3), "RAT_CTYP" NUMBER(9, 4), "REMARK" VARCHAR2(200),
REM "NUM_CNTL" VARCHAR2(16), "CLS_LEV" VARCHAR2(3), "RAT_BOUS" NUMBER(8,
REM 4), "CST_MANG" NUMBER(13, 4), "TYP_LEV1" VARCHAR2(4), "TYP_LEV2"
REM VARCHAR2(4), "TYP_LEV3" VARCHAR2(4), "CST_SYS" VARCHAR2(8), "CNT_ALL"
REM NUMBER(3, 0), "CST_FROM" VARCHAR2(4), "COD_IND" VARCHAR2(4),
REM "PRS_TYPE" VARCHAR2(20), "COD_MODL" VARCHAR2(15), "PRS_ADV"
REM NUMBER(16, 7), "SAL_DISC" NUMBER(6, 3), "DPT_CTL" VARCHAR2(8),
REM "DAT_EFFP" VARCHAR2(8), "STS_CTYPP" VARCHAR2(2), "DAT_UPD"
REM VARCHAR2(8), "EMP_UPD" VARCHAR2(8), "DAT_CONF" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "COD_DPT" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("QTY_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("QTY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("PRS_CTYP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("PRS_CTYPO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("RAT_CTYP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("RAT_BOUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("CST_MANG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("CNT_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("PRS_ADV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" MODIFY ("SAL_DISC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CTYPP_POS" ON "CTYPP_POS" ("COD_ITEM" ,
"COD_CUST" , "LIN_CTYP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CTYPP_POS" ADD CONSTRAINT "PK_CTYPP_POS"
REM PRIMARY KEY ("COD_ITEM", "COD_CUST", "LIN_CTYP") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CUST" ("NUM_CUST" VARCHAR2(20), "COD_CUST"
REM VARCHAR2(10) NOT NULL ENABLE, "NUM_REG" VARCHAR2(20), "NAM_CUST"
REM VARCHAR2(100), "NAM_CUSTS" VARCHAR2(20), "NAM_COB" VARCHAR2(30),
REM "NAM_ATTN" VARCHAR2(60), "DAT_BIRTH" VARCHAR2(8), "NUM_TEL1"
REM VARCHAR2(25), "NUM_TEL2" VARCHAR2(25), "NAM_POS" VARCHAR2(3),
REM "NUM_FAX" VARCHAR2(25), "ADD_REG" VARCHAR2(200), "ADD_ATTN"
REM VARCHAR2(200), "COD_PAYM" VARCHAR2(2), "COD_REL" VARCHAR2(4),
REM "COD_IND" VARCHAR2(4), "COD_DOLA" VARCHAR2(3), "COD_INVT"
REM VARCHAR2(2), "DSP_PS" VARCHAR2(2000), "NUM_AREA" VARCHAR2(7),
REM "DAT_KEYIN" VARCHAR2(8), "PROC_INVO" VARCHAR2(2), "COD_SALES"
REM VARCHAR2(8), "AMT_CRET" NUMBER(12, 0), "CNT_COMP" NUMBER(6, 0),
REM "AMT_BUS" NUMBER(12, 0), "COD_XFER" VARCHAR2(2), "AMT_CRDT"
REM NUMBER(12, 0), "AMT_RECO" NUMBER(12, 0), "DAT_MONTH" VARCHAR2(8),
REM "DAY_PAY" VARCHAR2(2), "PAK_PS" VARCHAR2(2000), "POS_AREA"
REM VARCHAR2(8), "CST_FROM" VARCHAR2(4), "CST_SYS" VARCHAR2(8),
REM "NAM_CUSTE" VARCHAR2(100), "ADD_ENG" VARCHAR2(2000), "NAM_CSTES"
REM VARCHAR2(20), "DAT_USET" VARCHAR2(8), "PS_DELD" VARCHAR2(2000),
REM "LEV_CUST" VARCHAR2(2), "CNT_ONCA" NUMBER(3, 0), "DAY_CHECK"
REM VARCHAR2(2), "OPT_PRIC" VARCHAR2(20), "EMP_KEYIN" VARCHAR2(10),
REM "DAT_LAST" VARCHAR2(8), "EMP_LAST" VARCHAR2(10), "NUM_CNTL"
REM VARCHAR2(16), "COD_NAT" VARCHAR2(8), "COD_SEX" VARCHAR2(1), "VIP_NO"
REM VARCHAR2(20), "STS_MTAIN" VARCHAR2(2), "STS_COMP" VARCHAR2(2),
REM "DAT_SETUP" VARCHAR2(8), "DAT_STK" VARCHAR2(8), "RUL_INT"
REM VARCHAR2(2), "DAT_FSTAR" VARCHAR2(8), "QTY_BONUS" NUMBER(11, 3),
REM "PS1" VARCHAR2(200), "EMAIL_CTL" VARCHAR2(1), "TO_CUSTSTT"
REM VARCHAR2(1), "CHK_PAYM" VARCHAR2(2), "PSW_RPT" VARCHAR2(20)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 262144
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("AMT_CRET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("CNT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("AMT_BUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("AMT_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("AMT_RECO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("CNT_ONCA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST" MODIFY ("QTY_BONUS" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_CUST" ON "CUST" ("NAM_CUSTS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_CUST" ON "CUST" ("CST_SYS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_CUST" ON "CUST" ("COD_CUST" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_CUST" ON "CUST" ("VIP_NO" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_CUST" ON "CUST" ("NUM_TEL1" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX5_CUST" ON "CUST" ("NUM_TEL2" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CUST" ADD CONSTRAINT "PK_CUST" PRIMARY KEY
REM ("COD_CUST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CUSTSTT" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_CSTT" VARCHAR2(3) NOT NULL ENABLE, "VAL_STT" NUMBER(17,
REM 4), "DAT_STT" VARCHAR2(8), "UID_STT" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CUSTSTT" MODIFY ("VAL_STT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_UCSTSTT" ON "CUSTSTT" ("COD_CUST" ,
"COD_CSTT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."CUSTSTT" ADD CONSTRAINT "PK_UCSTSTT" PRIMARY
REM KEY ("COD_CUST", "COD_CSTT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."CUST_POS" ("NUM_CUST" VARCHAR2(20), "COD_CUST"
REM VARCHAR2(10) NOT NULL ENABLE, "NUM_REG" VARCHAR2(20), "NAM_CUST"
REM VARCHAR2(100), "NAM_CUSTS" VARCHAR2(20), "NAM_COB" VARCHAR2(30),
REM "NAM_ATTN" VARCHAR2(30), "DAT_BIRTH" VARCHAR2(8), "NUM_TEL1"
REM VARCHAR2(25), "NUM_TEL2" VARCHAR2(25), "NAM_POS" VARCHAR2(3),
REM "NUM_FAX" VARCHAR2(25), "ADD_REG" VARCHAR2(200), "ADD_ATTN"
REM VARCHAR2(200), "COD_PAYM" VARCHAR2(2), "COD_REL" VARCHAR2(4),
REM "COD_IND" VARCHAR2(4), "COD_DOLA" VARCHAR2(3), "COD_INVT"
REM VARCHAR2(2), "DSP_PS" VARCHAR2(2000), "NUM_AREA" VARCHAR2(7),
REM "DAT_KEYIN" VARCHAR2(8), "PROC_INVO" VARCHAR2(2), "COD_SALES"
REM VARCHAR2(8), "AMT_CRET" NUMBER(12, 0), "CNT_COMP" NUMBER(6, 0),
REM "AMT_BUS" NUMBER(12, 0), "COD_XFER" VARCHAR2(2), "AMT_CRDT"
REM NUMBER(12, 0), "AMT_RECO" NUMBER(12, 0), "DAT_MONTH" VARCHAR2(8),
REM "DAY_PAY" VARCHAR2(2), "PAK_PS" VARCHAR2(2000), "POS_AREA"
REM VARCHAR2(8), "CST_FROM" VARCHAR2(4), "CST_SYS" VARCHAR2(8),
REM "NAM_CUSTE" VARCHAR2(100), "ADD_ENG" VARCHAR2(200), "DAT_USET"
REM VARCHAR2(8), "PS_DELD" VARCHAR2(2000), "LEV_CUST" VARCHAR2(2),
REM "CNT_ONCA" NUMBER(3, 0), "DAY_CHECK" VARCHAR2(2), "OPT_PRIC"
REM VARCHAR2(20), "DAT_LAST" VARCHAR2(8), "EMP_LAST" VARCHAR2(10),
REM "EMP_KEYIN" VARCHAR2(10), "NUM_CNTL" VARCHAR2(16), "NAM_CSTES"
REM VARCHAR2(20), "COD_NAT" VARCHAR2(8), "COD_SEX" VARCHAR2(1), "VIP_NO"
REM VARCHAR2(20), "STS_MTAIN" VARCHAR2(2), "STS_COMP" VARCHAR2(2),
REM "DAT_SETUP" VARCHAR2(8), "DAT_STK" VARCHAR2(8), "RUL_INT"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."CUST_POS" MODIFY ("AMT_CRET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST_POS" MODIFY ("CNT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST_POS" MODIFY ("AMT_BUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST_POS" MODIFY ("AMT_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST_POS" MODIFY ("AMT_RECO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."CUST_POS" MODIFY ("CNT_ONCA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_CUST_POS" ON "CUST_POS" ("COD_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."CUST_POS" ADD CONSTRAINT "PK_CUST_POS" PRIMARY
REM KEY ("COD_CUST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DALY" ("DAT_DALY" VARCHAR2(8) NOT NULL ENABLE,
REM "CLS_WORK" VARCHAR2(1) NOT NULL ENABLE, "COD_STN" VARCHAR2(8) NOT
REM NULL ENABLE, "TIM_ON" VARCHAR2(6), "TIM_OFF" VARCHAR2(6), "CNT_HOURS"
REM NUMBER(6, 1), "COD_WKTM" VARCHAR2(3), "HRS_WK1" NUMBER(5, 1),
REM "HRS_WK2" NUMBER(5, 1), "QTY_MREQ" NUMBER(6, 1), "QTY_MPOS" NUMBER(6,
REM 1), "HRS_WK" NUMBER(5, 1), "DAY_NIGH" VARCHAR2(1), "HRS_SEC"
REM NUMBER(2, 0), "PS1" VARCHAR2(600), "PS2" VARCHAR2(600), "PS_N1"
REM NUMBER(12, 3), "PS_N2" NUMBER(12, 3)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("CNT_HOURS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("HRS_WK1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("HRS_WK2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("QTY_MREQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("QTY_MPOS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("HRS_WK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("HRS_SEC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DALY" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DALY" ON "DALY" ("DAT_DALY" , "CLS_WORK"
, "COD_STN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DALY" ON "DALY" ("COD_STN" , "DAT_DALY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DALY" ADD CONSTRAINT "PK_DALY" PRIMARY KEY
REM ("DAT_DALY", "CLS_WORK", "COD_STN") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DARMD" ("NUM_ARMM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_ARMD" VARCHAR2(5) NOT NULL ENABLE, "COD_FACT"
REM VARCHAR2(10), "NUM_RCV" VARCHAR2(12), "LIN_RCV" VARCHAR2(3),
REM "NUM_BUY" VARCHAR2(16), "LIN_BUY" VARCHAR2(3), "COD_ITEM"
REM VARCHAR2(20), "QTY_REQ" NUMBER(11, 3), "MNY_UNIT" NUMBER(15, 5),
REM "DAT_DEL" VARCHAR2(8), "MNY_AMT" NUMBER(17, 4), "MNY_RCV" NUMBER(17,
REM 4), "STS_LINE" VARCHAR2(2), "REMARK" VARCHAR2(2000), "CLS_GET"
REM VARCHAR2(1), "CAN_AUTO" VARCHAR2(1), "AMT_TAX" NUMBER(12, 2),
REM "NUM_TCKET" VARCHAR2(25), "DAT_TCKET" VARCHAR2(8), "QTY_DISC"
REM NUMBER(11, 3), "NUM_PRAY" VARCHAR2(12), "MNY_PRAY" NUMBER(17, 4),
REM "MNY_UNITNT" NUMBER(15, 5), "DAT_RCVB" VARCHAR2(8), "MNY_AMTNT"
REM NUMBER(17, 4), "AMT_TOTNT" NUMBER(17, 4), "NUM_RCVB" VARCHAR2(12),
REM "LIN_RCVB" VARCHAR2(3), "UNT_POC" VARCHAR2(3), "QTY_POC" NUMBER(14,
REM 6), "PRS_POC" NUMBER(15, 5), "CLS_ARMM" VARCHAR2(3), "NUM_CASE"
REM VARCHAR2(16), "DIS_COND" VARCHAR2(1), "DPT_NEED" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "AMT_INVM" NUMBER(17,
REM 4), "AMT_TAXV" NUMBER(17, 4), "AMT_TOTV" NUMBER(17, 4), "EMP_CLOSE"
REM VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8), "MNY_RCVNT" NUMBER(17, 4),
REM "PS_ADJ" VARCHAR2(1), "NUM_INVM" VARCHAR2(20), "NUM_ACCP"
REM VARCHAR2(12), "BLN_D2" NUMBER(17, 4), "BLN_D2NT" NUMBER(17, 4))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 42991616 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
REM TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("CAN_AUTO" DEFAULT 'Y') ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("QTY_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_PRAY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_UNITNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("QTY_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("PRS_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("AMT_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("AMT_TAXV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("AMT_TOTV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("MNY_RCVNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("BLN_D2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMD" MODIFY ("BLN_D2NT" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX2_DARMD" ON "DARMD" ("NUM_BUY" , "LIN_BUY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_DARMD" ON "DARMD" ("NUM_RCVB" , "LIN_RCVB" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_DARMD" ON "DARMD" ("DAT_DEL" , "COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX5_DARMD" ON "DARMD" ("DAT_RCVB" , "COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DARMD" ON "DARMD" ("COD_FACT" , "NUM_RCV" ,
"LIN_RCV" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 8388608
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DARMD" ON "DARMD" ("NUM_ARMM" ,
"LIN_ARMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."DARMD" ADD CONSTRAINT "PK_DARMD" PRIMARY KEY
REM ("NUM_ARMM", "LIN_ARMD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 7340032 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DARMM" ("NUM_ARMM" VARCHAR2(12) NOT NULL
REM ENABLE, "CLS_ARMM" VARCHAR2(3), "DAT_ARMM" VARCHAR2(8), "DAT_BRTH"
REM VARCHAR2(8), "CLS_TCKET" VARCHAR2(2), "NUM_TCKET" VARCHAR2(25),
REM "DAT_TCKET" VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "COD_DOLA"
REM VARCHAR2(3), "VAL_RATE" NUMBER(9, 4), "COD_FACT" VARCHAR2(10),
REM "MNY_AMT" NUMBER(17, 4), "MNY_ARMM" NUMBER(17, 4), "MNY_AMTNT"
REM NUMBER(17, 4), "MNY_ARMMNT" NUMBER(17, 4), "MNY_RCV" NUMBER(17, 4),
REM "STS_LINE" VARCHAR2(2), "DAT_APPLY" VARCHAR2(8), "COD_DEP"
REM VARCHAR2(8), "COD_ACC" VARCHAR2(10), "NUM_PROD" VARCHAR2(12),
REM "SEQ_ITM" NUMBER(4, 0), "AMT_TAX" NUMBER(12, 2), "NUM_PRAY"
REM VARCHAR2(12), "TYP_INVM" VARCHAR2(2), "EMP_KEYIN" VARCHAR2(8),
REM "REMARK" VARCHAR2(100), "COD_PAYM" VARCHAR2(2), "EMP_CONF"
REM VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "DAT_EXPC" VARCHAR2(8),
REM "AMT_INVM" NUMBER(17, 4), "AMT_TAXV" NUMBER(17, 4), "AMT_TOTV"
REM NUMBER(17, 4), "EMP_CLOSE" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "MNY_RCVNT" NUMBER(17, 4), "DAT_KEYIN" VARCHAR2(8), "DPT_CTL"
REM VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "DTM_TRN" VARCHAR2(16), "PS1"
REM VARCHAR2(600), "PS2" VARCHAR2(600), "DAT_FCMON" VARCHAR2(8),
REM "DAT_SYNC" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 17825792 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("MNY_ARMM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("MNY_ARMMNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("MNY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("SEQ_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("AMT_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("AMT_TAXV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("AMT_TOTV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DARMM" MODIFY ("MNY_RCVNT" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX4_DARMM" ON "DARMM" ("DAT_ARMM" , "COD_FACT" ,
"NUM_ARMM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX2_DARMM" ON "DARMM" ("COD_FACT" , "DAT_BRTH" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_DARMM" ON "DARMM" ("DAT_BRTH" , "COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DARMM" ON "DARMM" ("DAT_TCKET" , "NUM_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DARMM" ON "DARMM" ("NUM_ARMM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX5_DARMM" ON "DARMM" ("NUM_PROD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DARMM" ADD CONSTRAINT "PK_DARMM" PRIMARY KEY
REM ("NUM_ARMM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DBALA" ("NUM_BALA" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_BALA" VARCHAR2(8), "EMP_BALA" VARCHAR2(15), "DAT_CONF"
REM VARCHAR2(8), "EMP_CONF" VARCHAR2(15), "STS_BALA" VARCHAR2(2),
REM "STS_CHECK" VARCHAR2(1), "DAT_PAYM" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_DBALA" ON "DBALA" ("NUM_BALA" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DBALA" ADD CONSTRAINT "PK_DBALA" PRIMARY KEY
REM ("NUM_BALA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DBALD" ("NUM_BALM" VARCHAR2(15) NOT NULL
REM ENABLE, "ITEM" VARCHAR2(5) NOT NULL ENABLE, "LIN_WRT" VARCHAR2(7) NOT
REM NULL ENABLE, "NUM_ARMM" VARCHAR2(15), "LIN_ARMD" VARCHAR2(5),
REM "NUM_TCKET" VARCHAR2(25), "NUM_RFF" VARCHAR2(16), "CLS_GET"
REM VARCHAR2(1), "LIN_RFF" VARCHAR2(3), "AMT_WRT" NUMBER(14, 4),
REM "NUM_ACCT" VARCHAR2(7), "NUM_ACCTD" VARCHAR2(4), "STS_PROC"
REM VARCHAR2(2), "DAT_BALM" VARCHAR2(8), "COD_FACT" VARCHAR2(10),
REM "NUM_PRAY" VARCHAR2(12), "LIN_PRAY" VARCHAR2(7), "DAT_WRT"
REM VARCHAR2(8), "EMP_KEYIN" VARCHAR2(8), "COD_ACCS" VARCHAR2(10),
REM "COD_ACC" VARCHAR2(10), "AMT_WRTNT" NUMBER(14, 4), "AMT_TOTNT"
REM NUMBER(14, 4), "NUM_PROD" VARCHAR2(12), "FRM_SYS" VARCHAR2(2),
REM "FRM_BAL" VARCHAR2(2), "LIN_COND" VARCHAR2(3), "MNY_COND" NUMBER(14,
REM 4), "NUM_ARAP" VARCHAR2(12), "DTM_PROC" VARCHAR2(16), "AMT_WRTS2"
REM NUMBER(14, 4), "NUM_D1D2" VARCHAR2(12), "DAT_SYNC" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 44040192 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
REM TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DBALD" MODIFY ("AMT_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALD" MODIFY ("AMT_WRTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALD" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALD" MODIFY ("MNY_COND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALD" MODIFY ("AMT_WRTS2" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX2_DBALD" ON "DBALD" ("NUM_PRAY" , "LIN_PRAY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 9437184 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_DBALD" ON "DBALD" ("DAT_BALM" , "NUM_BALM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 10485760 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_DBALD" ON "DBALD" ("NUM_ARAP" , "NUM_ARMM" ,
"LIN_ARMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 8388608
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX5_DBALD" ON "DBALD" ("FRM_BAL" , "NUM_BALM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 9437184 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DBALD" ON "DBALD" ("NUM_ARMM" , "LIN_ARMD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 8388608 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DBALD" ON "DBALD" ("NUM_BALM" , "ITEM" ,
"LIN_WRT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 11534336
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX6_DBALD" ON "DBALD" ("NUM_PROD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DBALD" ADD CONSTRAINT "PK_DBALD" PRIMARY KEY
REM ("NUM_BALM", "ITEM", "LIN_WRT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 11534336 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DBALH" ("NUM_DOP" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_BALM" VARCHAR2(12), "ITEM" VARCHAR2(5), "DAT_BALM"
REM VARCHAR2(8), "COD_FACT" VARCHAR2(10), "LIN_WRT" VARCHAR2(7),
REM "NUM_ARMM" VARCHAR2(12), "LIN_ARMD" VARCHAR2(5), "NUM_TCKET"
REM VARCHAR2(25), "CLS_GET" VARCHAR2(1), "AMT_WRT" NUMBER(14, 4),
REM "NUM_RFF" VARCHAR2(16), "LIN_RFF" VARCHAR2(3), "NUM_ACCT"
REM VARCHAR2(10), "NUM_ACCTD" VARCHAR2(10), "STS_PROC" VARCHAR2(2),
REM "NUM_PRAY" VARCHAR2(12), "LIN_PRAY" VARCHAR2(7), "DAT_OPP"
REM VARCHAR2(8), "TIM_OPP" VARCHAR2(8), "EMP_OPP" VARCHAR2(8), "FRM_SYS"
REM VARCHAR2(2), "AMT_WRTNT" NUMBER(17, 4), "AMT_TOTNT" NUMBER(17, 4),
REM "NUM_ARAP" VARCHAR2(12), "DAT_WRT" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 327680 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DBALH" MODIFY ("AMT_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALH" MODIFY ("AMT_WRTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALH" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DBALH" ON "DBALH" ("NUM_DOP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DBALH" ADD CONSTRAINT "PK_DBALH" PRIMARY KEY
REM ("NUM_DOP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DBALM" ("NUM_BALM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_BALM" VARCHAR2(8), "COD_FACT" VARCHAR2(10), "ITEM"
REM VARCHAR2(5), "MNY_AMT" NUMBER(14, 4), "CLS_PAYM" VARCHAR2(2),
REM "NUM_TCKET" VARCHAR2(12), "MNY_WRT" NUMBER(14, 4), "COD_BANK"
REM VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "COD_DOLA" VARCHAR2(3),
REM "VAL_RATE" NUMBER(9, 4), "MNY_DOLA" NUMBER(14, 4), "DAT_DUE"
REM VARCHAR2(8), "NUM_PRAY" VARCHAR2(12), "P_ACNO" VARCHAR2(24),
REM "XF2VMAN" VARCHAR2(1), "NUM_PROD" VARCHAR2(12), "EMP_KEYIN"
REM VARCHAR2(8), "FRM_SYS" VARCHAR2(2), "COD_ACCP" VARCHAR2(10),
REM "NAM_FACT" VARCHAR2(60), "REMARK" VARCHAR2(100), "XF2ACIO"
REM VARCHAR2(1), "COD_DOLAP" VARCHAR2(3), "VAL_RATEP" NUMBER(9, 4),
REM "MNY_DOLAP" NUMBER(14, 4), "NUM_BALA" VARCHAR2(12), "XF2XFBK"
REM VARCHAR2(1), "XF2CASM" VARCHAR2(1), "XF2INVM" VARCHAR2(1),
REM "NUM_BALMF" VARCHAR2(12), "MNY_CHG" NUMBER(8, 3), "ACC_CHG"
REM VARCHAR2(10), "EMP_PROC" VARCHAR2(8), "DPT_PROC" VARCHAR2(8),
REM "RUN_TURN" VARCHAR2(3), "DPT_FACT" VARCHAR2(8), "CHG_IO" VARCHAR2(1),
REM "DAT_SYNC" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 11534336 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("MNY_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("MNY_DOLA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("XF2VMAN" DEFAULT 'N') ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("FRM_SYS" DEFAULT 'AP') ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("VAL_RATEP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("MNY_DOLAP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALM" MODIFY ("MNY_CHG" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_DBALM" ON "DBALM" ("COD_BANK" , "NUM_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DBALM" ON "DBALM" ("NUM_BALM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_DBALM" ON "DBALM" ("NUM_PROD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DBALM" ADD CONSTRAINT "PK_DBALM" PRIMARY KEY
REM ("NUM_BALM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DBALS" ("NUM_BALM" VARCHAR2(12) NOT NULL
REM ENABLE, "ITEM" VARCHAR2(5) NOT NULL ENABLE, "LIN_WRT" VARCHAR2(7) NOT
REM NULL ENABLE, "DAT_BALM" VARCHAR2(8), "COD_FACT" VARCHAR2(10),
REM "NUM_ARMM" VARCHAR2(12), "LIN_ARMD" VARCHAR2(5), "NUM_TCKET"
REM VARCHAR2(25), "CLS_GET" VARCHAR2(1), "NUM_RFF" VARCHAR2(16),
REM "LIN_RFF" VARCHAR2(3), "AMT_WRT" NUMBER(14, 4), "AMT_WRTNT"
REM NUMBER(14, 4), "AMT_TOTNT" NUMBER(14, 4), "COD_ACC" VARCHAR2(10),
REM "EMP_KEYIN" VARCHAR2(8), "DAT_WRT" VARCHAR2(8), "XF2DBALD"
REM VARCHAR2(1), "MNY_BALN" NUMBER(14, 4), "REMARK" VARCHAR2(40),
REM "COD_CLOSE" VARCHAR2(1), "NUM_BALMO" VARCHAR2(12), "ITEMO"
REM VARCHAR2(5), "FRM_SYS" VARCHAR2(2), "RAT_FRMS" NUMBER(9, 4),
REM "NUM_PRAY" VARCHAR2(12), "LIN_PRAY" VARCHAR2(7), "PR_BALS"
REM VARCHAR2(1), "FROM_PR" VARCHAR2(1), "COD_DOLA" VARCHAR2(3),
REM "DPT_FACT" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 37748736 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DBALS" MODIFY ("AMT_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALS" MODIFY ("AMT_WRTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALS" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALS" MODIFY ("MNY_BALN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DBALS" MODIFY ("RAT_FRMS" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IDX1_DBALS" ON "DBALS" ("NUM_BALMO" , "ITEMO" ,
"NUM_ARMM" , "LIN_ARMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 13631488 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DBALS" ON "DBALS" ("NUM_BALM" , "ITEM" ,
"LIN_WRT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 10485760
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX2_DBALS" ON "DBALS" ("CLS_GET" , "NUM_RFF" ,
"LIN_RFF" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX3_DBALS" ON "DBALS" ("NUM_PRAY" , "LIN_PRAY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 8388608 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DBALS" ADD CONSTRAINT "PK_DBALS" PRIMARY KEY
REM ("NUM_BALM", "ITEM", "LIN_WRT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 10485760 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DCUST" ("COD_CUST" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_FTPM" VARCHAR2(12) NOT NULL ENABLE, "LIN_FTPM"
REM VARCHAR2(2), "TIM_DCUST" VARCHAR2(12) NOT NULL ENABLE, "IP_DCUST"
REM VARCHAR2(20)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_DCUST" ON "DCUST" ("COD_CUST" ,
"TIM_DCUST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."DCUST" ADD CONSTRAINT "PK_DCUST" PRIMARY KEY
REM ("COD_CUST", "TIM_DCUST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DELD" ("NUM_DEL" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_DEL" VARCHAR2(3) NOT NULL ENABLE, "NUM_CUST" VARCHAR2(10),
REM "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3), "COD_ITEM" VARCHAR2(20),
REM "COD_ITEMO" VARCHAR2(30), "QTY_DEL" NUMBER(11, 3), "UNIT"
REM VARCHAR2(3), "COD_DWL" VARCHAR2(1), "NUM_TCKET" VARCHAR2(25),
REM "DAT_TCKET" VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "PRT_PRICE"
REM VARCHAR2(1), "MNY_DEL" NUMBER(14, 5), "QTY_PRPA" NUMBER(11, 3),
REM "MNY_UNIT" NUMBER(14, 5), "QTY_RECV" NUMBER(11, 3), "AMT_DEL"
REM NUMBER(14, 4), "AMT_CRCV" NUMBER(14, 4), "AMT_ARCV" NUMBER(14, 4),
REM "QTY_AOK" NUMBER(11, 3), "QTY_ROK" NUMBER(11, 3), "STS_LIN"
REM VARCHAR2(2), "MNY_DSC" NUMBER(6, 0), "COD_FACT" VARCHAR2(8),
REM "NUM_DPT" VARCHAR2(8), "PS" VARCHAR2(2000), "COD_ITEMP" VARCHAR2(20),
REM "DAT_QC" VARCHAR2(8), "COD_WAR" VARCHAR2(3), "VAL_RATE" NUMBER(9, 4),
REM "MNY_UNITNT" NUMBER(14, 5), "AMT_DELUS" NUMBER(14, 4), "QTY_CARM"
REM NUMBER(11, 3), "NUM_QC" VARCHAR2(12), "QC_PS" VARCHAR2(200),
REM "NUM_SALM" VARCHAR2(18), "LIN_SALG" VARCHAR2(3), "UNT_POC"
REM VARCHAR2(3), "QTY_POC" NUMBER(14, 6), "PRS_POC" NUMBER(16, 7),
REM "AMT_COND" NUMBER(13, 4), "AMT_TCOND" NUMBER(13, 4), "QC_EMP"
REM VARCHAR2(8), "CST_DEL" NUMBER(17, 4), "NUM_CASE" VARCHAR2(16),
REM "SER_HUR" VARCHAR2(2), "AMT_CONDU" NUMBER(12, 4), "AMT_TCONDU"
REM NUMBER(12, 4), "PS_MRK" VARCHAR2(80), "AMT_NLC" NUMBER(17, 4),
REM "QTY_BROW" NUMBER(11, 3), "RSN_CANS" VARCHAR2(10), "DAT_CANS"
REM VARCHAR2(8), "EMP_SEND" VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "COD_LOC"
REM VARCHAR2(10), "EMP_LSTUPD" VARCHAR2(8), "DTM_LSTUPD" VARCHAR2(16),
REM "PS1" VARCHAR2(40), "PS2" VARCHAR2(2000), "PS_N1" NUMBER(17, 4),
REM "NUM_PACK" VARCHAR2(12), "DAT_PACK" VARCHAR2(8), "STS_PACK"
REM VARCHAR2(2), "MARK_HLP" VARCHAR2(1), "PS_N3" NUMBER(17, 4), "PS_N4"
REM NUMBER(17, 4), "PS_N5" NUMBER(17, 4), "PS_N6" NUMBER(17, 4),
REM "PS_XML1" VARCHAR2(200), "PS_XML2" VARCHAR2(200), "PS_XML3"
REM VARCHAR2(200), "PS_XML4" VARCHAR2(200), "AMT_TAX" NUMBER(14, 4),
REM "DAT_PRPAD" VARCHAR2(8), "NUM_TRAM" VARCHAR2(12), "LIN_TRAM"
REM VARCHAR2(4), "DAT_INS" VARCHAR2(8), "QTY_OVDEL" NUMBER(11, 3),
REM "YN_TMPEST" VARCHAR2(1), "DAT_SYNC" VARCHAR2(8), "COD_DLADEL"
REM VARCHAR2(3), "QTY_BUYP" NUMBER(11, 3), "UNT_BUYP" VARCHAR2(3),
REM "NUM_DSC" VARCHAR2(12), "SER_PCS" VARCHAR2(20), "STS_SYNC"
REM VARCHAR2(2), "NUM_PPAR" VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 44040192 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("MNY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_PRPA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_RECV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_CRCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_ARCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_AOK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_ROK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("VAL_RATE" DEFAULT 1 ) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("MNY_UNITNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_DELUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_CARM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("PRS_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_COND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_TCOND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("CST_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_CONDU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_TCONDU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("PS_N5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("PS_N6" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("DAT_INS" DEFAULT
REM TO_CHAR(SYSDATE,'YYYYMMDD')) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_OVDEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELD" MODIFY ("QTY_BUYP" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IND2_DELD" ON "DELD" ("COD_ITEM" , "STS_LIN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND6_DELD" ON "DELD" ("NUM_PO" , "NUM_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX7_DELD" ON "DELD" ("NUM_TCKET" , "DAT_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX8_DELD" ON "DELD" ("DAT_TCKET" , "NUM_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX9_DELD" ON "DELD" ("DAT_QC" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND3_DELD" ON "DELD" ("STS_LIN" , "NUM_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND1_DELD" ON "DELD" ("NUM_CUST" , "NUM_DEL" ,
"LIN_DEL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IND4_DELD" ON "DELD" ("NUM_CASE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND5_DELD" ON "DELD" ("NUM_CUST" , "STS_LIN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 4194304 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DELD" ON "DELD" ("NUM_DEL" , "LIN_DEL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX10_DELD" ON "DELD" ("NUM_CUST" , "NUM_PO" ,
"LIN_PO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX11_DELD" ON "DELD" ("COD_ITEM" , "DAT_PRPAD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DELD" ADD CONSTRAINT "PK_DELD" PRIMARY KEY
REM ("NUM_DEL", "LIN_DEL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 5242880 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DELH" ("NUM_DEL" VARCHAR2(12) NOT NULL ENABLE,
REM "COD_FACT" VARCHAR2(10), "NUM_DPT" VARCHAR2(8), "DAT_DEL"
REM VARCHAR2(8), "NUM_CUST" VARCHAR2(10), "COD_ADDR" VARCHAR2(8),
REM "ADDR_DEL" VARCHAR2(200), "NAM_ATTN" VARCHAR2(60), "NUM_TEL"
REM VARCHAR2(25), "NUM_FAX" VARCHAR2(25), "STS_DEL" VARCHAR2(3),
REM "COD_EMPDL" VARCHAR2(8), "DAT_ARRVE" VARCHAR2(8), "COD_DEL_C"
REM VARCHAR2(10), "DAT_ARRAC" VARCHAR2(8), "DAT_BACK" VARCHAR2(8), "PS"
REM VARCHAR2(2000), "QC_PS" VARCHAR2(200), "EMP_BELON" VARCHAR2(8),
REM "NUM_EDSM" VARCHAR2(12), "DAT_PLN" VARCHAR2(8), "ACC_RISK"
REM VARCHAR2(200), "SHP_MARK" VARCHAR2(100), "SHP_VIA" VARCHAR2(200),
REM "SHP_FROM" VARCHAR2(200), "SHP_TO" VARCHAR2(200), "SHP_TOT"
REM VARCHAR2(200), "SHP_REMARK" VARCHAR2(600), "COD_QUT" VARCHAR2(3),
REM "QC_EMP" VARCHAR2(8), "LC_NO" VARCHAR2(30), "NUM_RDEL" VARCHAR2(12),
REM "SND_TCKET" VARCHAR2(1), "EMP_KEYIN" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "TIM_KEYIN" VARCHAR2(8), "SHP_BOAT" VARCHAR2(40),
REM "LC_DATE" VARCHAR2(8), "PRO_TAX" VARCHAR2(1), "MNY_TRN" NUMBER(12,
REM 4), "MNY_INS" NUMBER(12, 4), "CNT_R14" NUMBER(3, 0), "DPT_CTL"
REM VARCHAR2(8), "NUM_CNTL" VARCHAR2(16), "EMP_CONF" VARCHAR2(8),
REM "POS_PORTF" VARCHAR2(10), "BEG_PORT" VARCHAR2(10), "END_PORT"
REM VARCHAR2(10), "POS_PORTT" VARCHAR2(10), "TYP_DRES" VARCHAR2(2),
REM "MATERIAL" NUMBER(15, 3), "CNT_WGT" NUMBER(14, 6), "PS1"
REM VARCHAR2(200), "DAT_SND" VARCHAR2(8), "NUM_SND" VARCHAR2(20),
REM "RAT_SND" NUMBER(9, 4), "PS_INV" VARCHAR2(2000), "PCS_DELH"
REM VARCHAR2(20), "COD_XFER" VARCHAR2(2), "TAX_TYPE" VARCHAR2(2),
REM "COD_DOLA" VARCHAR2(3), "NUM_WAY" VARCHAR2(12), "EMP_LSTUPD"
REM VARCHAR2(8), "DTM_LSTUPD" VARCHAR2(16), "DTM_FAX" VARCHAR2(16),
REM "EMP_FAX" VARCHAR2(16), "DAT_2XML" VARCHAR2(16), "UID_2XML"
REM VARCHAR2(16), "EMP_CLOSE" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "PS_N1" NUMBER(14, 4), "PS_N2" NUMBER(14, 4), "PS_N3" NUMBER(14, 4),
REM "PS_N4" NUMBER(14, 4), "PS_N5" NUMBER(14, 4), "DAT_SHIP" VARCHAR2(8),
REM "CNT_MARK" NUMBER(4, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("CNT_R14" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("CNT_WGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("PS_N4" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("PS_N5" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DELH" MODIFY ("CNT_MARK" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IND4_DELH" ON "DELH" ("DAT_KEYIN" , "NUM_CUST" ,
"NUM_DEL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 458752
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IND2_DELH" ON "DELH" ("DAT_PLN" , "NUM_CUST" ,
"NUM_DEL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 458752
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IND1_DELH" ON "DELH" ("DAT_DEL" , "NUM_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 327680 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND3_DELH" ON "DELH" ("NUM_CUST" , "DAT_DEL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 327680 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DELH" ON "DELH" ("NUM_DEL" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 327680 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DELH" ADD CONSTRAINT "PK_DELH" PRIMARY KEY
REM ("NUM_DEL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 327680 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DELP" ("NUM_DELP" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_DEL" VARCHAR2(12), "LIN_DEL" VARCHAR2(3), "SEQ_DELP"
REM VARCHAR2(3), "COD_ITEM" VARCHAR2(20), "QTY_DEL" NUMBER(11, 3),
REM "COD_LOC" VARCHAR2(10), "SER_PCS" VARCHAR2(20), "NUM_DSC"
REM VARCHAR2(12), "NO_SEQ" VARCHAR2(30), "PS1" VARCHAR2(100), "PS2"
REM VARCHAR2(100), "PS3" VARCHAR2(100), "PS_N1" NUMBER(11, 3), "PS_N2"
REM NUMBER(11, 3), "PS_N3" NUMBER(11, 3), "STS_DELP" VARCHAR2(2),
REM "DAT_UPD" VARCHAR2(8), "UID_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DELP" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELP" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELP" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DELP" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DELP" ON "DELP" ("NUM_DELP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DELP" ON "DELP" ("NUM_DEL" , "LIN_DEL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DELP" ADD CONSTRAINT "PK_DELP" PRIMARY KEY
REM ("NUM_DELP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLIND" ("NUM_DLIN" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_DLIN" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20), "QTY_DLIN" NUMBER(6, 0), "REMARK" VARCHAR2(200),
REM "COD_UNIT" VARCHAR2(3), "MNY_UNIT" NUMBER(13, 4), "MNY_AMT"
REM NUMBER(13, 4), "CLS_ARMM" VARCHAR2(3), "TYP_MTAIN" VARCHAR2(2),
REM "TYP_POLN" VARCHAR2(2), "UID_ADD" VARCHAR2(8), "DTM_ADD"
REM VARCHAR2(14), "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(14),
REM "POS_DEL" VARCHAR2(8), "ADR_DEL" VARCHAR2(200), "DPT_AR" VARCHAR2(8),
REM "EMP_MTAIN" VARCHAR2(8), "COD_ITEMF" VARCHAR2(20), "NUM_SER"
REM VARCHAR2(30), "HUR_EFF" NUMBER(6, 2), "HUR_2END" NUMBER(6, 2),
REM "NUM_CASE" VARCHAR2(16), "CLS_TRN" VARCHAR2(2), "NUM_TRN"
REM VARCHAR2(12), "LIN_TRN" VARCHAR2(4), "COD_WAR" VARCHAR2(3),
REM "LEV_DSRV" VARCHAR2(3), "DAT_2ONCA" VARCHAR2(8), "STS_DLIN"
REM VARCHAR2(2), "UID_END" VARCHAR2(8), "DAT_END" VARCHAR2(8)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLIND" MODIFY ("QTY_DLIN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLIND" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLIND" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLIND" MODIFY ("HUR_EFF" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DLIND" MODIFY ("HUR_2END" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DLIND" MODIFY ("STS_DLIN" DEFAULT '00' ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLIND" ON "DLIND" ("NUM_DLIN" ,
"LIN_DLIN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."DLIND" ADD CONSTRAINT "PK_DLIND" PRIMARY KEY
REM ("NUM_DLIN", "LIN_DLIN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLING" ("NUM_GLIN" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_DLIN" VARCHAR2(8), "TYP_DLIN" VARCHAR2(2), "CLS_DLIN"
REM VARCHAR2(2), "DPT_CTL" VARCHAR2(8), "COD_CUST" VARCHAR2(10),
REM "NAM_CUST" VARCHAR2(60), "COD_PAYM" VARCHAR2(2), "COD_PAYMT"
REM VARCHAR2(4), "DAT_BEG" VARCHAR2(8), "CNT_MON" NUMBER(3, 0), "DAT_END"
REM VARCHAR2(8), "COD_CYCLE" VARCHAR2(3), "REMARK" VARCHAR2(2000), "PS1"
REM VARCHAR2(2000), "COD_EMPSL" VARCHAR2(8), "COD_DPT" VARCHAR2(8),
REM "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLING" MODIFY ("CNT_MON" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLING" ON "DLING" ("NUM_GLIN" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DLING" ADD CONSTRAINT "PK_DLING" PRIMARY KEY
REM ("NUM_GLIN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLINL" ("NUM_DLIN" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_DLIN" VARCHAR2(3) NOT NULL ENABLE, "SEQ_DLINL" NUMBER(3,
REM 0) NOT NULL ENABLE, "NUM_DLINL" VARCHAR2(20), "COD_FACT"
REM VARCHAR2(10), "DAT_SETUP" VARCHAR2(8), "DAT_BEG" VARCHAR2(8),
REM "DAT_END" VARCHAR2(8), "NAM_CUSTA" VARCHAR2(60), "NUM_AREAA"
REM VARCHAR2(7), "ADDR_A" VARCHAR2(100), "ATTN_A" VARCHAR2(30), "TEL_A"
REM VARCHAR2(25), "NAM_CUSTB" VARCHAR2(60), "NUM_AREAB" VARCHAR2(7),
REM "ADDR_B" VARCHAR2(100), "ATTN_B" VARCHAR2(30), "TEL_B" VARCHAR2(25),
REM "PS1" VARCHAR2(100), "PS2" VARCHAR2(100), "PS_N1" NUMBER(13, 4),
REM "PS_N2" NUMBER(13, 4), "STS_DLINL" VARCHAR2(2), "DAT_L2PO"
REM VARCHAR2(8), "EMP_L2PO" VARCHAR2(8), "COD_CUSTA" VARCHAR2(10),
REM "DPT_CUSTA" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLINL" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLINL" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLINL" ON "DLINL" ("NUM_DLIN" ,
"LIN_DLIN" , "SEQ_DLINL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DLINL" ADD CONSTRAINT "PK_DLINL" PRIMARY KEY
REM ("NUM_DLIN", "LIN_DLIN", "SEQ_DLINL") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLINM" ("NUM_DLIN" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_DLIN" VARCHAR2(8), "NUM_RFF" VARCHAR2(12), "NUM_REST"
REM VARCHAR2(12), "TYP_DLIN" VARCHAR2(2), "CST_DLIN" VARCHAR2(2),
REM "COD_CUST" VARCHAR2(10), "NAM_CUST" VARCHAR2(60), "NUM_REG"
REM VARCHAR2(20), "NAM_ATTN" VARCHAR2(60), "STK_FACT" VARCHAR2(10),
REM "COD_MACH" VARCHAR2(10), "ADDR_SET" VARCHAR2(200), "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8), "LIN_DLIN" VARCHAR2(200),
REM "MAT_DLIN" VARCHAR2(200), "REMARK" VARCHAR2(2000), "STS_DLIN"
REM VARCHAR2(2), "DPT_CTL" VARCHAR2(8), "COD_EMPSL" VARCHAR2(8),
REM "COD_DPT" VARCHAR2(8), "COD_QUTD" VARCHAR2(3), "TYP_POHD"
REM VARCHAR2(2), "POS_DEL" VARCHAR2(8), "ADDR_DEL" VARCHAR2(200),
REM "COD_PAYM" VARCHAR2(2), "COD_PAYMT" VARCHAR2(4), "CNT_MON" NUMBER(3,
REM 0), "DTM_CONF" VARCHAR2(16), "EMP_CONF" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16), "EMP_UPD" VARCHAR2(8), "DAT_2ONCA" VARCHAR2(8),
REM "COD_CYCLE" VARCHAR2(3), "NUM_GLIN" VARCHAR2(12), "CLS_DLIN"
REM VARCHAR2(2), "PS1" VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE INDEX "MFTEST"."IDX1_DLINM" ON "DLINM" ("COD_CUST" , "NUM_RFF" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLINM" ON "DLINM" ("NUM_DLIN" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DLINM" ADD CONSTRAINT "PK_DLINM" PRIMARY KEY
REM ("NUM_DLIN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLINS" ("NUM_DLINS" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_DLIN" VARCHAR2(12), "LIN_DLIN" VARCHAR2(3), "SEQ_DLINL"
REM NUMBER(3, 0), "COD_ITEM" VARCHAR2(20), "SER_PCS" VARCHAR2(20),
REM "NO_SEQ" VARCHAR2(30), "REMARK" VARCHAR2(600), "PS1" VARCHAR2(100),
REM "PS2" VARCHAR2(100), "PS_N1" NUMBER(13, 4), "PS_N2" NUMBER(13, 4))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLINS" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."DLINS" MODIFY ("PS_N2" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLINS" ON "DLINS" ("NUM_DLINS" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DLINS" ADD CONSTRAINT "PK_DLINS" PRIMARY KEY
REM ("NUM_DLINS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLPKD" ("NUM_DLPK" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_DLPK" VARCHAR2(4) NOT NULL ENABLE, "NUM_DEL"
REM VARCHAR2(12), "LIN_DEL" VARCHAR2(3), "COD_ITEM" VARCHAR2(20),
REM "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3), "QTY_PK" NUMBER(11, 3),
REM "UNIT" VARCHAR2(3), "QTY_REQ" NUMBER(11, 3), "NET_WGT" NUMBER(14, 6),
REM "CNT_WGT" NUMBER(14, 6), "C_NO" VARCHAR2(30), "MATERIAL" NUMBER(12,
REM 4), "PS" VARCHAR2(60), "PALLET" VARCHAR2(30), "CNT_CNO" NUMBER(4, 0),
REM "MEASURE" VARCHAR2(60), "NUM_PKST" VARCHAR2(12), "NET_WGT1"
REM NUMBER(14, 6), "CNT_WGT1" NUMBER(14, 6), "MATERIAL1" NUMBER(12, 4),
REM "QTY_RST" NUMBER(11, 3), "CLS_PKST" VARCHAR2(2), "PS_N1" NUMBER(14,
REM 3), "PS1" VARCHAR2(100), "PS2" VARCHAR2(100), "PS3" VARCHAR2(100),
REM "PS4" VARCHAR2(100), "NUM_INVM" VARCHAR2(20), "LIN_INVM" VARCHAR2(4),
REM "CLS_TRN" VARCHAR2(2), "NUM_TRN" VARCHAR2(12), "LIN_TRN" VARCHAR2(5),
REM "QTY_PKOLD" NUMBER(11, 3), "STS_DLPKD" VARCHAR2(2), "UIS_QCBAK"
REM VARCHAR2(8), "DTM_QCBAK" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 18874368 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("QTY_PK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("NET_WGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("CNT_WGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("CNT_CNO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("NET_WGT1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("CNT_WGT1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("MATERIAL1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("QTY_RST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKD" MODIFY ("QTY_PKOLD" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLPKD" ON "DLPKD" ("NUM_DLPK" ,
"SEQ_DLPK" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."DLPKD" ADD CONSTRAINT "PK_DLPKD" PRIMARY KEY
REM ("NUM_DLPK", "SEQ_DLPK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 5242880 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLPKM" ("NUM_DLPK" VARCHAR2(12) NOT NULL
REM ENABLE, "CNT_PKG" NUMBER(4, 0), "CNT_ITM" NUMBER(11, 3), "CNT_WGT"
REM NUMBER(14, 6), "FRM_PK" VARCHAR2(60), "TO_PK" VARCHAR2(60),
REM "COD_CUST" VARCHAR2(12), "DPT_CUST" VARCHAR2(8), "ADDR"
REM VARCHAR2(200), "DAT_DLPK" VARCHAR2(8), "TIM_DLPK" VARCHAR2(8),
REM "NET_WGT" NUMBER(14, 6), "REMARK" VARCHAR2(2000), "CNT_CNO"
REM NUMBER(12, 2), "MATERIAL" NUMBER(16, 4), "PALLET_W" NUMBER(14, 6),
REM "PS1" VARCHAR2(200), "PS2" VARCHAR2(200), "UID_ADD" VARCHAR2(8),
REM "DTM_ADD" VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16), "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 2097152
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("CNT_PKG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("CNT_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("CNT_WGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("NET_WGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("CNT_CNO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DLPKM" MODIFY ("PALLET_W" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLPKM" ON "DLPKM" ("NUM_DLPK" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 327680 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DLPKM" ADD CONSTRAINT "PK_DLPKM" PRIMARY KEY
REM ("NUM_DLPK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 327680 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DLPKP" ("NUM_DLPP" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_DLPK" VARCHAR2(12), "SEQ_DLPK" VARCHAR2(4), "PALLET"
REM VARCHAR2(30), "NUM_DEL" VARCHAR2(12), "LIN_DEL" VARCHAR2(3),
REM "COD_ITEM" VARCHAR2(20), "COD_CUST" VARCHAR2(12), "NUM_PO"
REM VARCHAR2(16), "LIN_PO" VARCHAR2(3), "CNT_BGT" NUMBER(4, 0), "REMARK"
REM VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DLPKP" MODIFY ("CNT_BGT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DLPKP" ON "DLPKP" ("NUM_DLPP" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 851968 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DLPKP" ADD CONSTRAINT "PK_DLPKP" PRIMARY KEY
REM ("NUM_DLPP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 851968 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPCTL" ("TYP_CTL" VARCHAR2(3) NOT NULL ENABLE,
REM "DPT_CTL" VARCHAR2(8) NOT NULL ENABLE, "NAM_CTL" VARCHAR2(30),
REM "NUM_CNTL" VARCHAR2(16), "COD_DPT" VARCHAR2(8), "CENT_COST"
REM VARCHAR2(8), "COD_LOC" VARCHAR2(10), "DAT_USET" VARCHAR2(8),
REM "GRP_CTL" VARCHAR2(8), "LG_FACT" VARCHAR2(10)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPCTL" ON "DPCTL" ("TYP_CTL" , "DPT_CTL"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DPCTL" ADD CONSTRAINT "PK_DPCTL" PRIMARY KEY
REM ("TYP_CTL", "DPT_CTL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPCTQ" ("DPT_CTL" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "COD_QC" VARCHAR2(2) NOT
REM NULL ENABLE, "QTY_CUSE" NUMBER(12, 3), "QTY_CNTL" NUMBER(12, 3),
REM "QTY_STK" NUMBER(12, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 327680 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DPCTQ" MODIFY ("QTY_CUSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPCTQ" MODIFY ("QTY_CNTL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPCTQ" MODIFY ("QTY_STK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPCTQ" ON "DPCTQ" ("DPT_CTL" , "COD_ITEM"
, "COD_QC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 458752
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."DPCTQ" ADD CONSTRAINT "PK_DPCTQ" PRIMARY KEY
REM ("DPT_CTL", "COD_ITEM", "COD_QC") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 458752 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPLOC" ("DPT_CTL" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "COD_LOC" VARCHAR2(10),
REM "REMARK" VARCHAR2(40), "PM_ITEM" VARCHAR2(8), "QTY_SAFE" NUMBER(8,
REM 0), "QTY_ALM_S" NUMBER(8, 0), "DAY_DEL" NUMBER(3, 0), "CLS_GET"
REM VARCHAR2(1), "EMP_INS" VARCHAR2(8), "DAT_INS" VARCHAR2(8), "EMP_UPD"
REM VARCHAR2(8), "DAT_UPD" VARCHAR2(8), "SER_PCS" VARCHAR2(20),
REM "STR_ITEM" VARCHAR2(20), "TYP_LEND" VARCHAR2(1), "TYP_PARA"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DPLOC" MODIFY ("QTY_SAFE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPLOC" MODIFY ("QTY_ALM_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPLOC" MODIFY ("DAY_DEL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPLOC" ON "DPLOC" ("DPT_CTL" , "COD_ITEM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DPLOC" ADD CONSTRAINT "PK_DPLOC" PRIMARY KEY
REM ("DPT_CTL", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPRAD" ("NUM_PRAY" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_PRAY" VARCHAR2(7) NOT NULL ENABLE, "NUM_ARMM"
REM VARCHAR2(12), "LIN_ARMD" VARCHAR2(5), "MNY_ARMM" NUMBER(17, 4),
REM "NUM_TCKET" VARCHAR2(25), "STS_PRAY" VARCHAR2(2), "MNY_AMT"
REM NUMBER(17, 4), "AMT_TAX" NUMBER(12, 2), "MNY_BALN" NUMBER(17, 4),
REM "TAX_TYPE" VARCHAR2(2), "MNY_ARMMNT" NUMBER(17, 4), "REMARK"
REM VARCHAR2(600)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 15728640 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DPRAD" MODIFY ("MNY_ARMM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPRAD" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPRAD" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPRAD" MODIFY ("MNY_BALN" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_DPRAD" ON "DPRAD" ("NUM_ARMM" , "LIN_ARMD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPRAD" ON "DPRAD" ("NUM_PRAY" ,
"LIN_PRAY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."DPRAD" ADD CONSTRAINT "PK_DPRAD" PRIMARY KEY
REM ("NUM_PRAY", "LIN_PRAY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 6291456 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPRAY" ("NUM_PRAY" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_PRAY" VARCHAR2(8), "DAT_ARMM" VARCHAR2(8), "COD_FACT"
REM VARCHAR2(10), "MNY_ARMM" NUMBER(17, 4), "NUM_CHECK" VARCHAR2(12),
REM "COD_BANK" VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "P_ACNO"
REM VARCHAR2(24), "DAT_DUE" VARCHAR2(8), "STS_PRAY" VARCHAR2(2),
REM "MNY_BALN" NUMBER(17, 4), "DAT_CONF" VARCHAR2(8), "EMP_CONF"
REM VARCHAR2(8), "COD_PAYM" VARCHAR2(2), "COD_DOLA" VARCHAR2(3),
REM "NUM_BALM" VARCHAR2(12), "CLS_ARMM" VARCHAR2(3), "DAT_EXPC"
REM VARCHAR2(8), "CHK_PAYM" VARCHAR2(2), "MON_EXPC" VARCHAR2(6),
REM "DPT_PRAY" VARCHAR2(8), "EMP_PRAY" VARCHAR2(8), "REMARK"
REM VARCHAR2(600), "DAT_CANCEL" VARCHAR2(8), "EMP_CANCEL" VARCHAR2(8),
REM "DPT_FACT" VARCHAR2(8), "COD_PAYCD" VARCHAR2(3), "PAY_NOTE"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 4194304 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DPRAY" MODIFY ("MNY_ARMM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPRAY" MODIFY ("MNY_BALN" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPRAY" ON "DPRAY" ("NUM_PRAY" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 589824 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DPRAY" ADD CONSTRAINT "PK_DPRAY" PRIMARY KEY
REM ("NUM_PRAY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 589824 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPTPFD" ("MON_YER" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_DPT" VARCHAR2(8) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20) NOT NULL ENABLE, "MNY_PO" NUMBER(17, 4), "MNY_RTN"
REM NUMBER(17, 4), "MNY_AR" NUMBER(17, 4), "CST_AR" NUMBER(17, 4),
REM "CST_SALS" NUMBER(17, 4), "CST_STD" NUMBER(17, 4), "TAG_SALS"
REM NUMBER(17, 4), "QTY_RCV" NUMBER(17, 4), "MNY_RCV" NUMBER(17, 4),
REM "QTY_DPT" NUMBER(17, 4), "CST_DPT" NUMBER(17, 4), "QTY_BROW"
REM NUMBER(17, 4), "CST_BROW" NUMBER(17, 4), "EMP_PROC" VARCHAR2(8),
REM "DAT_PROC" VARCHAR2(8), "QTY_RCVBD" NUMBER(17, 4), "MNY_RCVBD"
REM NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("MNY_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("MNY_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("MNY_AR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("CST_AR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("CST_SALS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("CST_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("TAG_SALS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("QTY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("MNY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("QTY_DPT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("CST_DPT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("QTY_BROW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("CST_BROW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("QTY_RCVBD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFD" MODIFY ("MNY_RCVBD" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPTPFD" ON "DPTPFD" ("MON_YER" ,
"COD_DPT" , "COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DPTPFD" ON "DPTPFD" ("COD_DPT" , "MON_YER" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DPTPFD" ADD CONSTRAINT "PK_DPTPFD" PRIMARY KEY
REM ("MON_YER", "COD_DPT", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."DPTPFM" ("MON_YER" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_DPT" VARCHAR2(8) NOT NULL ENABLE, "MNY_PO" NUMBER(17,
REM 4), "MNY_RTN" NUMBER(17, 4), "MNY_AR" NUMBER(17, 4), "CST_AR"
REM NUMBER(17, 4), "CST_SALS" NUMBER(17, 4), "CST_STD" NUMBER(17, 4),
REM "TAG_SALS" NUMBER(17, 4), "MNY_CLS1" NUMBER(17, 4), "MNY_CLS2"
REM NUMBER(17, 4), "MNY_CLS3" NUMBER(17, 4), "MNY_CLS4" NUMBER(17, 4),
REM "MNY_CLS5" NUMBER(17, 4), "MNY_CLS6" NUMBER(17, 4), "MNY_CLS7"
REM NUMBER(17, 4), "MNY_CLS8" NUMBER(17, 4), "MNY_CLS9" NUMBER(17, 4),
REM "MNY_CLS10" NUMBER(17, 4), "EMP_PROC" VARCHAR2(8), "DAT_PROC"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_AR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("CST_AR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("CST_SALS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("CST_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("TAG_SALS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS6" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS7" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS8" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS9" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."DPTPFM" MODIFY ("MNY_CLS10" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_DPTPFM" ON "DPTPFM" ("MON_YER" ,
"COD_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_DPTPFM" ON "DPTPFM" ("COD_DPT" , "MON_YER" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."DPTPFM" ADD CONSTRAINT "PK_DPTPFM" PRIMARY KEY
REM ("MON_YER", "COD_DPT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EACCD" ("COD_DPT" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_SALY" VARCHAR2(2) NOT NULL ENABLE, "COD_ACC" VARCHAR2(10) NOT
REM NULL ENABLE, "DORC" VARCHAR2(1) NOT NULL ENABLE) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EACCD" ON "EACCD" ("COD_DPT" , "COD_SALY"
, "COD_ACC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EACCD" ADD CONSTRAINT "PK_EACCD" PRIMARY KEY
REM ("COD_DPT", "COD_SALY", "COD_ACC") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EACCE" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_DPT" VARCHAR2(8) NOT NULL ENABLE, "COD_SALY" VARCHAR2(2) NOT
REM NULL ENABLE, "MON_BEG" VARCHAR2(6) NOT NULL ENABLE, "MON_END"
REM VARCHAR2(6) NOT NULL ENABLE, "COD_ACC" VARCHAR2(10) NOT NULL ENABLE,
REM "CLS_SALY" NUMBER(1, 0), "DORC" VARCHAR2(1) NOT NULL ENABLE) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EACCE" ON "EACCE" ("COD_EMP" , "COD_SALY"
, "MON_BEG" , "COD_ACC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EACCE" ADD CONSTRAINT "PK_EACCE" PRIMARY KEY
REM ("COD_EMP", "COD_SALY", "MON_BEG", "COD_ACC") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EACCS" ("MON_SALY" VARCHAR2(6) NOT NULL
REM ENABLE, "SER_SALY" VARCHAR2(2) NOT NULL ENABLE, "COD_DPT" VARCHAR2(8)
REM NOT NULL ENABLE, "COD_ACC" VARCHAR2(10) NOT NULL ENABLE, "AMT_D"
REM NUMBER(13, 2), "AMT_C" NUMBER(13, 2), "NUM_PROD" VARCHAR2(12),
REM "SEQ_ITM" NUMBER(4, 0), "STS_ACCS" VARCHAR2(2), "NUM_CHGM"
REM VARCHAR2(12), "LIN_CHGM" VARCHAR2(5)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EACCS" MODIFY ("AMT_D" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EACCS" MODIFY ("AMT_C" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EACCS" ON "EACCS" ("MON_SALY" ,
"SER_SALY" , "COD_DPT" , "COD_ACC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EACCS" ADD CONSTRAINT "PK_EACCS" PRIMARY KEY
REM ("MON_SALY", "SER_SALY", "COD_DPT", "COD_ACC") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EACCSD" ("MON_SALY" VARCHAR2(6) NOT NULL
REM ENABLE, "SER_SALY" VARCHAR2(2) NOT NULL ENABLE, "COD_DPT" VARCHAR2(8)
REM NOT NULL ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "COD_ACC"
REM VARCHAR2(10) NOT NULL ENABLE, "COD_RST" VARCHAR2(6) NOT NULL ENABLE,
REM "AMT_D" NUMBER(13, 2), "AMT_C" NUMBER(13, 2), "NUM_PROD"
REM VARCHAR2(12), "SEQ_ITM" NUMBER(4, 0), "NUM_CHGM" VARCHAR2(12),
REM "LIN_CHGM" VARCHAR2(5), "STS_ACCS" VARCHAR2(2)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EACCSD" MODIFY ("AMT_D" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EACCSD" MODIFY ("AMT_C" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EACCSD" MODIFY ("SEQ_ITM" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EACCSD" ON "EACCSD" ("MON_SALY" ,
"SER_SALY" , "COD_DPT" , "COD_EMP" , "COD_ACC" , "COD_RST" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EACCSD" ADD CONSTRAINT "PK_EACCSD" PRIMARY KEY
REM ("MON_SALY", "SER_SALY", "COD_DPT", "COD_EMP", "COD_ACC", "COD_RST")
REM USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EALLN" ("COD_STN" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_POS" VARCHAR2(2) NOT NULL ENABLE, "COD_WKTM" VARCHAR2(3) NOT
REM NULL ENABLE, "HUR_BEG" NUMBER(5, 1) NOT NULL ENABLE, "HUR_END"
REM NUMBER(5, 1), "COD_SALY" VARCHAR2(2), "MNY_ALLN" NUMBER(10, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EALLN" MODIFY ("HUR_BEG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EALLN" MODIFY ("HUR_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EALLN" MODIFY ("COD_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EALLN" MODIFY ("MNY_ALLN" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EALLN" ON "EALLN" ("COD_STN" , "COD_POS"
, "COD_WKTM" , "HUR_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EALLN" ADD CONSTRAINT "PK_EALLN" PRIMARY KEY
REM ("COD_STN", "COD_POS", "COD_WKTM", "HUR_BEG") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EATTN" ("TYP_ATTN" VARCHAR2(3) NOT NULL
REM ENABLE, "TYP_EMP" VARCHAR2(2) NOT NULL ENABLE, "COD_POS" VARCHAR2(2)
REM NOT NULL ENABLE, "COD_SALY" VARCHAR2(2) NOT NULL ENABLE, "TYP_SALY"
REM VARCHAR2(2), "RAT_SALY" NUMBER(6, 2), "MNY_SALY" NUMBER(10, 3),
REM "PAY_SALY" VARCHAR2(2) NOT NULL ENABLE, "MNY_FIX" NUMBER(10, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EATTN" MODIFY ("RAT_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EATTN" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EATTN" MODIFY ("MNY_FIX" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EATTN" ON "EATTN" ("TYP_ATTN" , "TYP_EMP"
, "COD_POS" , "COD_SALY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EATTN" ADD CONSTRAINT "PK_EATTN" PRIMARY KEY
REM ("TYP_ATTN", "TYP_EMP", "COD_POS", "COD_SALY") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EAUDT" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "LIN_AUDT" VARCHAR2(4) NOT NULL ENABLE, "DSC_AUDT" VARCHAR2(1000),
REM "DAT_AUDT" VARCHAR2(8), "COD_KEYIN" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EAUDT" ON "EAUDT" ("COD_EMP" , "LIN_AUDT"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EAUDT" ADD CONSTRAINT "PK_EAUDT" PRIMARY KEY
REM ("COD_EMP", "LIN_AUDT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECHGD" ("YAR_CHG" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_CHG" VARCHAR2(20) NOT NULL ENABLE, "LIN_CHG" VARCHAR2(2) NOT
REM NULL ENABLE, "COD_EMP" VARCHAR2(8), "CLS_CHG" VARCHAR2(3),
REM "COD_DEPTN" VARCHAR2(8), "COD_POSN" VARCHAR2(2), "COD_DEPTO"
REM VARCHAR2(8), "COD_POSO" VARCHAR2(2), "OFF_RESN" VARCHAR2(2),
REM "DSP_RESP" VARCHAR2(40), "DAT_INUR" VARCHAR2(8), "STS_ECHG"
REM VARCHAR2(2), "NLV_POS" VARCHAR2(4), "NLV_STAG" NUMBER(2, 0),
REM "OLV_POS" VARCHAR2(4), "OLV_STAG" NUMBER(2, 0), "COD_STNN"
REM VARCHAR2(8), "COD_STNO" VARCHAR2(8), "COD_POS1N" VARCHAR2(2),
REM "COD_POS1O" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ECHGD" MODIFY ("NLV_STAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ECHGD" MODIFY ("OLV_STAG" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECHGD" ON "ECHGD" ("YAR_CHG" , "COD_CHG"
, "LIN_CHG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ECHGD" ADD CONSTRAINT "PK_ECHGD" PRIMARY KEY
REM ("YAR_CHG", "COD_CHG", "LIN_CHG") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECHGM" ("YAR_CHG" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_CHG" VARCHAR2(20) NOT NULL ENABLE, "DAT_CHG" VARCHAR2(8),
REM "DPT_PROC" VARCHAR2(8), "DSP_PS" VARCHAR2(120), "DAT_INPUT"
REM VARCHAR2(8), "EMP_INPUT" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECHGM" ON "ECHGM" ("YAR_CHG" , "COD_CHG"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ECHGM" ADD CONSTRAINT "PK_ECHGM" PRIMARY KEY
REM ("YAR_CHG", "COD_CHG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECHWK" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "DAT_BEG" VARCHAR2(8) NOT NULL ENABLE, "DAT_END" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_WKCT" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECHWK" ON "ECHWK" ("COD_EMP" , "DAT_BEG"
, "DAT_END" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ECHWK" ADD CONSTRAINT "PK_ECHWK" PRIMARY KEY
REM ("COD_EMP", "DAT_BEG", "DAT_END") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECLAS" ("COD_CLAS" VARCHAR2(12) NOT NULL
REM ENABLE, "NAM_CLAS" VARCHAR2(60), "DAY_CLAS" NUMBER(6, 2), "HUR_CLAS"
REM NUMBER(6, 2), "TYP_CLAS" VARCHAR2(2), "DSC_CLAS" VARCHAR2(2000),
REM "NAT_CLAS" VARCHAR2(2), "DOC_CONM" VARCHAR2(20), "PRS_CLAS"
REM NUMBER(12, 4), "MAN_CLAS" VARCHAR2(200), "MOD_CLAS" VARCHAR2(4),
REM "CLS_CLAS" VARCHAR2(2), "COD_ITEM" VARCHAR2(20), "CLS_CSRV"
REM VARCHAR2(2), "NUM_EMENU" VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ECLAS" MODIFY ("DAY_CLAS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ECLAS" MODIFY ("HUR_CLAS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ECLAS" MODIFY ("PRS_CLAS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECLAS" ON "ECLAS" ("COD_CLAS" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ECLAS" ADD CONSTRAINT "PK_ECLAS" PRIMARY KEY
REM ("COD_CLAS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECLASD" ("COD_CLAS" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_CLAS" NUMBER(3, 0) NOT NULL ENABLE, "SEQ_CLASD"
REM NUMBER(3, 0), "TIM_CLASD" VARCHAR2(2), "TYP_CLASD" VARCHAR2(2),
REM "NUM_DOCM" VARCHAR2(20), "REMARK" VARCHAR2(100)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECLASD" ON "ECLASD" ("COD_CLAS" ,
"LIN_CLAS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ECLASD" ADD CONSTRAINT "PK_ECLASD" PRIMARY KEY
REM ("COD_CLAS", "LIN_CLAS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECLASR" ("COD_CLAS" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_CLAS" VARCHAR2(3) NOT NULL ENABLE, "REL_CLAS"
REM VARCHAR2(2), "COD_CLASR" VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECLASR" ON "ECLASR" ("COD_CLAS" ,
"SEQ_CLAS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ECLASR" ADD CONSTRAINT "PK_ECLASR" PRIMARY KEY
REM ("COD_CLAS", "SEQ_CLAS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECLAST" ("COD_CLAS" VARCHAR2(12), "SEQ_CLAST"
REM NUMBER(4, 0), "LEV_CUST" VARCHAR2(2), "COD_IND" VARCHAR2(4),
REM "STS_COMP" VARCHAR2(2), "CLS_CDPT" VARCHAR2(2), "NUM_AREA"
REM VARCHAR2(5), "NAM_POS" VARCHAR2(2), "TYP_WORK" VARCHAR2(2),
REM "STS_MTAIN" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECLAST" ON "ECLAST" ("COD_CLAS" ,
"SEQ_CLAST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ECLAST" ADD CONSTRAINT "PK_ECLAST" PRIMARY KEY
REM ("COD_CLAS", "SEQ_CLAST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECO" ("SN" VARCHAR2(12), "ST" VARCHAR2(2),
REM "ECO_NUMBER" VARCHAR2(6), "CODE" VARCHAR2(2), "PRODUCTION_CODE"
REM VARCHAR2(10), "PARENT_PART_NUMBER" VARCHAR2(12), "PART_NUMBER"
REM VARCHAR2(12), "DRAWING_NUMBER" VARCHAR2(12), "NEW_PART_NUMBER"
REM VARCHAR2(12), "NEW_DRAWING_NUMBER" VARCHAR2(12), "SPEC"
REM VARCHAR2(256), "UNIT" VARCHAR2(256), "VERSION" VARCHAR2(3),
REM "QUANTITY" VARCHAR2(10), "CHANGEFORREASON" VARCHAR2(256),
REM "STARTEFFECTIVITYDATE" VARCHAR2(8), "ENDEFFECTIVITYDATE" VARCHAR2(8),
REM "ECR_NUMBER" VARCHAR2(6), "ROUTE" VARCHAR2(3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM CREATE TABLE "MFTEST"."ECPHD" ("YAR_CP" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_CP" VARCHAR2(20) NOT NULL ENABLE, "LIN_CP" VARCHAR2(2) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8), "CLS_CP" VARCHAR2(3), "QTY_CP"
REM NUMBER(2, 0), "MNY_CP" NUMBER(7, 0), "CLS_RESN" VARCHAR2(3),
REM "DSP_RESP" VARCHAR2(40), "COD_SALY" VARCHAR2(2), "STS_ECPH"
REM VARCHAR2(2), "STS_CP" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ECPHD" MODIFY ("QTY_CP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ECPHD" MODIFY ("MNY_CP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECPHD" ON "ECPHD" ("YAR_CP" , "COD_CP" ,
"LIN_CP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ECPHD" ADD CONSTRAINT "PK_ECPHD" PRIMARY KEY
REM ("YAR_CP", "COD_CP", "LIN_CP") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ECPHM" ("YAR_CP" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_CP" VARCHAR2(20) NOT NULL ENABLE, "DAT_CP" VARCHAR2(8),
REM "DPT_PROC" VARCHAR2(8), "DSP_PS" VARCHAR2(120), "DAT_INPUT"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ECPHM" ON "ECPHM" ("YAR_CP" , "COD_CP" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ECPHM" ADD CONSTRAINT "PK_ECPHM" PRIMARY KEY
REM ("YAR_CP", "COD_CP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_CDPT" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "NUM_CUST"
REM VARCHAR2(20), "NAM_DPT" VARCHAR2(100), "NAM_DPTE" VARCHAR2(100),
REM "CLS_CDPT" VARCHAR2(2), "IP_ADDR" VARCHAR2(100), "EMAIL"
REM VARCHAR2(100), "COD_NAT" VARCHAR2(8), "NUM_AREA" VARCHAR2(7),
REM "POS_AREA" VARCHAR2(8), "ADD_DPT" VARCHAR2(200), "ADD_ENG"
REM VARCHAR2(200), "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25),
REM "NUM_MOB" VARCHAR2(25), "NAM_POS" VARCHAR2(3), "DAT_BIRTH"
REM VARCHAR2(8), "NUM_FAX" VARCHAR2(25), "COD_EMP" VARCHAR2(10),
REM "COD_TRN" VARCHAR2(3), "COD_QUTD" VARCHAR2(3), "COD_BANK"
REM VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "NAM_BANK" VARCHAR2(40),
REM "NUM_ACC" VARCHAR2(24), "NAM_ACC" VARCHAR2(100), "DAT_ACC"
REM VARCHAR2(8), "COD_SALES" VARCHAR2(8), "AST_SALES" VARCHAR2(8),
REM "EMP_SEND" VARCHAR2(8), "COD_XFER" VARCHAR2(2), "DPT_CTL"
REM VARCHAR2(8), "SND_TCKET" VARCHAR2(1), "ARE_TCKET" VARCHAR2(5),
REM "USE_TCKET" VARCHAR2(8), "NUM_CNTL" VARCHAR2(16), "DAT_KEYIN"
REM VARCHAR2(8), "EMP_KEYIN" VARCHAR2(10), "DAT_USET" VARCHAR2(8),
REM "NUM_WAY" VARCHAR2(12), "SRV_DPT" VARCHAR2(8), "STS_EC" VARCHAR2(2),
REM "EMP_TRN" VARCHAR2(8), "DTM_TRN" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_CDPT" ON "EC_CDPT" ("COD_CUST" ,
"NUM_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EC_CDPT" ADD CONSTRAINT "PK_EC_CDPT" PRIMARY
REM KEY ("COD_CUST", "NUM_DPT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_CUST" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_REG" VARCHAR2(20), "NAM_CUST" VARCHAR2(60), "NAM_CUSTS"
REM VARCHAR2(20), "NAM_CUSTE" VARCHAR2(100), "NAM_CSTES" VARCHAR2(20),
REM "NUM_TEL1" VARCHAR2(25), "NUM_TEL2" VARCHAR2(25), "NUM_FAX"
REM VARCHAR2(25), "NUM_AREA" VARCHAR2(7), "POS_AREA" VARCHAR2(8),
REM "ADD_REG" VARCHAR2(100), "ADD_ATTN" VARCHAR2(100), "ADD_ENG"
REM VARCHAR2(200), "NAM_COB" VARCHAR2(30), "NAM_ATTN" VARCHAR2(30),
REM "NAM_POS" VARCHAR2(3), "DAT_BIRTH" VARCHAR2(8), "COD_PAYM"
REM VARCHAR2(2), "LEV_CUST" VARCHAR2(2), "CST_FROM" VARCHAR2(4),
REM "CST_SYS" VARCHAR2(8), "COD_REL" VARCHAR2(4), "COD_IND" VARCHAR2(4),
REM "COD_DOLA" VARCHAR2(3), "COD_INVT" VARCHAR2(2), "PROC_INVO"
REM VARCHAR2(2), "COD_SALES" VARCHAR2(8), "AMT_CRET" NUMBER(12, 0),
REM "CNT_COMP" NUMBER(6, 0), "AMT_BUS" NUMBER(12, 0), "COD_XFER"
REM VARCHAR2(2), "AMT_CRDT" NUMBER(12, 0), "AMT_RECO" NUMBER(12, 0),
REM "DAT_MONTH" VARCHAR2(2), "DAY_PAY" VARCHAR2(2), "DAY_CHECK"
REM VARCHAR2(2), "DAT_USET" VARCHAR2(8), "PS_DELD" VARCHAR2(40), "PAK_PS"
REM VARCHAR2(200), "DSP_PS" VARCHAR2(80), "DAT_LAST" VARCHAR2(8),
REM "EMP_LAST" VARCHAR2(10), "DAT_KEYIN" VARCHAR2(8), "EMP_KEYIN"
REM VARCHAR2(10), "NUM_CNTL" VARCHAR2(16), "STS_EC" VARCHAR2(2),
REM "EMP_TRN" VARCHAR2(8), "DTM_TRN" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_CUST" MODIFY ("AMT_CRET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_CUST" MODIFY ("CNT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_CUST" MODIFY ("AMT_BUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_CUST" MODIFY ("AMT_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_CUST" MODIFY ("AMT_RECO" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_CUST" ON "EC_CUST" ("COD_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_CUST" ADD CONSTRAINT "PK_EC_CUST" PRIMARY
REM KEY ("COD_CUST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_FACT" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_REG" VARCHAR2(20), "NAM_FACT" VARCHAR2(60), "NAM_FACTS"
REM VARCHAR2(12), "NAM_FACTE" VARCHAR2(100), "NUM_TEL1" VARCHAR2(25),
REM "NUM_TEL2" VARCHAR2(25), "NUM_FAX" VARCHAR2(25), "NUM_AREA"
REM VARCHAR2(7), "POS_AREA" VARCHAR2(8), "ADD_REG" VARCHAR2(100),
REM "ADD_ATTN" VARCHAR2(100), "ADD_MAIL" VARCHAR2(100), "ADD_ENG"
REM VARCHAR2(200), "NAM_COB" VARCHAR2(30), "NAM_ATTN" VARCHAR2(30),
REM "NUM_BBC" VARCHAR2(25), "NAM_POS" VARCHAR2(3), "DAT_BIRTH"
REM VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "COD_PAYM" VARCHAR2(2),
REM "CHK_PAYM" VARCHAR2(2), "DAT_MONTH" VARCHAR2(2), "DAT_MONBG"
REM VARCHAR2(2), "DAY_PAY" VARCHAR2(2), "RAT_CASH" NUMBER(6, 3),
REM "COD_REL" VARCHAR2(4), "IO_FACT" VARCHAR2(1), "COD_IND" VARCHAR2(4),
REM "COD_DOLA" VARCHAR2(3), "COD_INVT" VARCHAR2(2), "DSP_PS"
REM VARCHAR2(80), "CNT_COMP" NUMBER(6, 0), "CNT_FACT" NUMBER(6, 0),
REM "DAT_CRET" VARCHAR2(8), "AMT_CRET" NUMBER(12, 0), "COD_BUSI"
REM VARCHAR2(3), "DAT_USET" VARCHAR2(8), "COD_LOC" VARCHAR2(10),
REM "DAT_LAST" VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "EMP_KEYIN" VARCHAR2(8), "EMP_APLY" VARCHAR2(8),
REM "COD_DPT" VARCHAR2(8), "PS1" VARCHAR2(100), "PS2" VARCHAR2(100),
REM "PS3" VARCHAR2(100), "PS_N1" NUMBER(11, 3), "PS_N2" NUMBER(11, 3),
REM "PS_N3" NUMBER(11, 3), "STS_EC" VARCHAR2(2), "EMP_TRN" VARCHAR2(8),
REM "DTM_TRN" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("RAT_CASH" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("CNT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("CNT_FACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("AMT_CRET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FACT" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_FACT" ON "EC_FACT" ("COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_FACT" ADD CONSTRAINT "PK_EC_FACT" PRIMARY
REM KEY ("COD_FACT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_FDPT" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "NUM_CUST"
REM VARCHAR2(20), "NAM_DPT" VARCHAR2(30), "NAM_DPTE" VARCHAR2(100),
REM "NUM_AREA" VARCHAR2(7), "POS_AREA" VARCHAR2(8), "IP_ADDR"
REM VARCHAR2(100), "EMAILE" VARCHAR2(100), "ADD_DPT" VARCHAR2(100),
REM "ADD_ENG" VARCHAR2(200), "NAM_ATTN" VARCHAR2(30), "NAM_POS"
REM VARCHAR2(3), "DAT_BIRTH" VARCHAR2(8), "NUM_TEL" VARCHAR2(25),
REM "NUM_FAX" VARCHAR2(25), "NUM_BBC" VARCHAR2(25), "COD_EMP"
REM VARCHAR2(30), "COD_TRN" VARCHAR2(3), "COD_PAYM" VARCHAR2(3),
REM "COD_BANK" VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "NUM_ACC"
REM VARCHAR2(24), "NAM_DEPOSIT" VARCHAR2(60), "PS" VARCHAR2(80),
REM "BUY_CRDT" NUMBER(12, 0), "NUM_PTAX" VARCHAR2(20), "DPT_CTL"
REM VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "PS1" VARCHAR2(100), "PS2"
REM VARCHAR2(100), "PS3" VARCHAR2(100), "PS_N1" NUMBER(11, 3), "PS_N2"
REM NUMBER(11, 3), "PS_N3" NUMBER(11, 3), "DAT_LAST" VARCHAR2(8),
REM "EMP_LAST" VARCHAR2(8), "STS_EC" VARCHAR2(2), "EMP_TRN" VARCHAR2(8),
REM "DTM_TRN" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_FDPT" MODIFY ("BUY_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FDPT" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FDPT" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_FDPT" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_FDPT" ON "EC_FDPT" ("COD_FACT" ,
"NUM_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EC_FDPT" ADD CONSTRAINT "PK_EC_FDPT" PRIMARY
REM KEY ("COD_FACT", "NUM_DPT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_ITEM" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "NAM_ITEM" VARCHAR2(80), "NAM_ITEMS" VARCHAR2(80), "BARCODE"
REM VARCHAR2(20), "CON_ITEM" VARCHAR2(30), "CST_MONAG" NUMBER(14, 4),
REM "CST_STD" NUMBER(14, 4), "MNY_PRICS" NUMBER(14, 4), "MNY_PRSB"
REM NUMBER(14, 4), "MNY_PRSO" NUMBER(14, 4), "MNY_COST" NUMBER(14, 4),
REM "UNT_STK" VARCHAR2(3), "CLS_ITEM" VARCHAR2(1), "TYP_ITEM"
REM VARCHAR2(4), "CLS_PROD" VARCHAR2(2), "CLS_ACC" VARCHAR2(1), "DAT_EFF"
REM NUMBER(4, 0), "WGT_UNIT" NUMBER(14, 6), "MATERIAL" NUMBER(10, 3),
REM "CHR_GOODS" VARCHAR2(5), "DSC_ITEM" VARCHAR2(2000), "PIC_ITEM1"
REM VARCHAR2(30), "WAY_DIST" VARCHAR2(1), "QTY_MIN_S" NUMBER(6, 0),
REM "QTY_ALM_S" NUMBER(12, 4), "QTY_SAFE" NUMBER(12, 4), "DAT_FILE"
REM VARCHAR2(8), "DAY_DEL" NUMBER(3, 0), "COD_ENV_P" VARCHAR2(1),
REM "COD_MNY" VARCHAR2(3), "CLS_GET" VARCHAR2(1), "LLC" NUMBER(2, 0),
REM "CLS_LEV" VARCHAR2(1), "COD_MODL" VARCHAR2(15), "COD_VER"
REM VARCHAR2(12), "DAT_VER" VARCHAR2(8), "COD_TAXI" VARCHAR2(15),
REM "COD_MAKR" VARCHAR2(10), "COD_SIT" VARCHAR2(13), "NUM_FILE"
REM VARCHAR2(30), "NUM_CNTL" VARCHAR2(16), "DAT_USET" VARCHAR2(8),
REM "EMP_USET" VARCHAR2(8), "DAT_SALED" VARCHAR2(8), "TYP_LEV1"
REM VARCHAR2(12), "TYP_LEV2" VARCHAR2(4), "TYP_LEV3" VARCHAR2(4),
REM "TYP_LEV4" VARCHAR2(4), "TYP_LEV5" VARCHAR2(4), "COD_LOC"
REM VARCHAR2(10), "DEC_ITEM" NUMBER(1, 0), "LEV_OPUM" VARCHAR2(2),
REM "TAX_TYPE" VARCHAR2(2), "PRO_TAX" VARCHAR2(1), "PRS_SECU" NUMBER(14,
REM 4), "XFR_COST" NUMBER(14, 4), "PM_ITEM" VARCHAR2(8), "STS_ITM"
REM VARCHAR2(2), "PS_C1" VARCHAR2(16), "PS_C2" VARCHAR2(20), "PS_C3"
REM VARCHAR2(20), "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3"
REM NUMBER(17, 4), "STS_EC" VARCHAR2(2), "EMP_TRN" VARCHAR2(8), "DTM_TRN"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("CST_MONAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("CST_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("MNY_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("MNY_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("MNY_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("MNY_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("DAT_EFF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("WGT_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("QTY_MIN_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("QTY_ALM_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("QTY_SAFE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("LLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("DEC_ITEM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("PRS_SECU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("XFR_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_ITEM" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_ITEM" ON "EC_ITEM" ("COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_ITEM" ADD CONSTRAINT "PK_EC_ITEM" PRIMARY
REM KEY ("COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_MENU" ("MENU_ID" VARCHAR2(20) NOT NULL
REM ENABLE, "IT_SEQNO" NUMBER(*,0), "IT_TYPE" VARCHAR2(1), "IT_ID"
REM VARCHAR2(20) NOT NULL ENABLE, "PROMPT" VARCHAR2(60), "SEC_TYPE"
REM VARCHAR2(1), "URL_HTM" VARCHAR2(50)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_MENU" ON "EC_MENU" ("MENU_ID" ,
"IT_ID" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EC_MENU" ADD CONSTRAINT "PK_EC_MENU" PRIMARY
REM KEY ("MENU_ID", "IT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_MNYRM" ("NUM_MNYR" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_SEND" VARCHAR2(12), "DAT_PAYM" VARCHAR2(8), "DAT_REMIT"
REM VARCHAR2(8), "COD_CUST" VARCHAR2(10), "ITEM" VARCHAR2(4), "COD_DOLAR"
REM VARCHAR2(3), "VAL_RATER" NUMBER(9, 4), "MNY_DOLAR" NUMBER(14, 4),
REM "COD_DOLA" VARCHAR2(3), "VAL_RATE" NUMBER(9, 4), "MNY_DOLA"
REM NUMBER(14, 4), "MNY_AMT" NUMBER(14, 4), "CLS_PAYM" VARCHAR2(2),
REM "COD_BANK" VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "F_ACC"
REM VARCHAR2(24), "NUM_TCKET" VARCHAR2(12), "DAT_DUE" VARCHAR2(8),
REM "TYP_CHK" VARCHAR2(2), "ENDAT_CHK" VARCHAR2(8), "COD_SBANK"
REM VARCHAR2(3), "COD_SBRAN" VARCHAR2(10), "S_ACNO" VARCHAR2(24),
REM "XF2ACIO" VARCHAR2(1), "XF2VMAN" VARCHAR2(1), "EMP_KEYIN"
REM VARCHAR2(8), "EMP_RCV" VARCHAR2(8), "COD_DPT" VARCHAR2(8), "NUM_CASE"
REM VARCHAR2(16), "RUN_TURN" VARCHAR2(3), "COD_DACC" VARCHAR2(10),
REM "COD_RST" VARCHAR2(6), "NUM_CNTL" VARCHAR2(16), "REMARK"
REM VARCHAR2(400), "NUM_CARD" VARCHAR2(16), "CLS_TRN" VARCHAR2(2),
REM "NUM_PO" VARCHAR2(16), "MNY_OVER" NUMBER(14, 4), "MNY_COUP"
REM NUMBER(14, 4), "FULL_CARD" VARCHAR2(400), "QTY_CBOS" NUMBER(11, 3),
REM "PS1" VARCHAR2(400), "EMP_TRN" VARCHAR2(8), "DTM_TRN" VARCHAR2(16))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("VAL_RATER" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("MNY_DOLAR" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("MNY_DOLA" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("MNY_AMT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("MNY_OVER" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("MNY_COUP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" MODIFY ("QTY_CBOS" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_MNYRM" ON "EC_MNYRM" ("NUM_MNYR" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_MNYRM" ADD CONSTRAINT "PK_EC_MNYRM" PRIMARY
REM KEY ("NUM_MNYR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_POHD" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_PO" VARCHAR2(16) NOT NULL ENABLE, "SER_PO" VARCHAR2(2),
REM "DAT_PO" VARCHAR2(8), "TYP_POHD" VARCHAR2(3), "COD_XFER" VARCHAR2(2),
REM "DAT_DELS" VARCHAR2(8), "DAT_RFF" VARCHAR2(8), "RFF_RATE" NUMBER(9,
REM 4), "COD_EMPSL" VARCHAR2(8), "COD_DPT" VARCHAR2(8), "POS_DEL"
REM VARCHAR2(8), "ADDR_DEL" VARCHAR2(200), "COD_PAYM" VARCHAR2(2),
REM "COD_PAYMT" VARCHAR2(4), "COD_QUTD" VARCHAR2(3), "TAX_TYPE"
REM VARCHAR2(2), "COD_DOLA" VARCHAR2(3), "SND_TCKET" VARCHAR2(1),
REM "NAM_ATTN" VARCHAR2(30), "NUM_TEL" VARCHAR2(25), "NUM_FAX"
REM VARCHAR2(25), "AMT_PO" NUMBER(14, 4), "REMARK" VARCHAR2(2000),
REM "DPT_CTL" VARCHAR2(8), "PS_INV" VARCHAR2(100), "STS_ECPO"
REM VARCHAR2(2), "COD_EMPIN" VARCHAR2(5), "DAT_KEYIN" VARCHAR2(8),
REM "TIM_KEYIN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "DTM_TRN"
REM VARCHAR2(16), "RUN_TURN" VARCHAR2(3), "COD_SEX" VARCHAR2(1),
REM "AGE_CUST" NUMBER(3, 0), "ID_INVMM" VARCHAR2(10), "NUM_TCKETB"
REM VARCHAR2(25)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_POHD" MODIFY ("RFF_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_POHD" MODIFY ("AMT_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POHD" MODIFY ("AGE_CUST" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_POHD" ON "EC_POHD" ("COD_CUST" ,
"NUM_PO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_EC_POHD" ON "EC_POHD" ("STS_ECPO" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_POHD" ADD CONSTRAINT "PK_EC_POHD" PRIMARY
REM KEY ("COD_CUST", "NUM_PO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_POLN" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_PO" VARCHAR2(16) NOT NULL ENABLE, "NUM_LINE" VARCHAR2(3)
REM NOT NULL ENABLE, "COD_ITEMO" VARCHAR2(30), "COD_ITEM" VARCHAR2(20),
REM "NAM_ITEM" VARCHAR2(80), "DSC_ITEM" VARCHAR2(2000), "DPT_CTL"
REM VARCHAR2(8), "CLS_ARMM" VARCHAR2(3), "TYP_POLN" VARCHAR2(2),
REM "COD_UNIT" VARCHAR2(3), "QTY_REQ" NUMBER(11, 3), "MNY_UNIT"
REM NUMBER(14, 5), "UNT_POC" VARCHAR2(3), "QTY_POC" NUMBER(14, 6),
REM "PRS_POC" NUMBER(16, 7), "MNY_DSC" NUMBER(10, 2), "MNY_TRN"
REM NUMBER(10, 2), "MNY_INSU" NUMBER(10, 2), "MNY_PROC" NUMBER(10, 2),
REM "MNY_OTHS" NUMBER(10, 2), "MNY_AMT" NUMBER(13, 4), "DAT_DELS"
REM VARCHAR2(8), "POS_DEL" VARCHAR2(8), "ADR_DEL" VARCHAR2(200),
REM "NAM_CUSTD" VARCHAR2(40), "TEL_CUSTD" VARCHAR2(25), "COD_BATCH"
REM VARCHAR2(1), "COD_WAR" VARCHAR2(3), "NUM_CASE" VARCHAR2(16),
REM "NUM_WAY" VARCHAR2(12), "COD_XFER" VARCHAR2(2), "COD_LOC"
REM VARCHAR2(10), "PS" VARCHAR2(500), "PS1" VARCHAR2(40), "PS2"
REM VARCHAR2(200), "PS_N1" NUMBER(17, 4), "NUM_TCKET" VARCHAR2(25),
REM "DAT_TCKET" VARCHAR2(8), "NUM_REG" VARCHAR2(20), "SIN_FACT"
REM VARCHAR2(10), "PRS_FACT" NUMBER(15, 5), "STS_ECPO" VARCHAR2(2),
REM "TYP_INVM" VARCHAR2(2), "TAX_TYPE" VARCHAR2(2), "AMT_TAX" NUMBER(14,
REM 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("QTY_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("PRS_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_INSU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_OTHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("PRS_FACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_POLN" MODIFY ("AMT_TAX" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_POLN" ON "EC_POLN" ("COD_CUST" ,
"NUM_PO" , "NUM_LINE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_POLN" ADD CONSTRAINT "PK_EC_POLN" PRIMARY
REM KEY ("COD_CUST", "NUM_PO", "NUM_LINE") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_RTRND" ("NUM_RTN" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_RTN" VARCHAR2(5) NOT NULL ENABLE, "NUM_DEL"
REM VARCHAR2(12), "LIN_DEL" VARCHAR2(3), "COD_CUST" VARCHAR2(10),
REM "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3), "COD_ITEMO"
REM VARCHAR2(30), "COD_ITEM" VARCHAR2(20), "NUM_TCKET" VARCHAR2(25),
REM "DAT_TCKET" VARCHAR2(8), "TYP_INVM" VARCHAR2(2), "TAX_TYPE"
REM VARCHAR2(2), "UNIT" VARCHAR2(3), "QTY_RTN" NUMBER(11, 3), "QTY_DISC"
REM NUMBER(11, 3), "PRS_RTN" NUMBER(14, 5), "MNY_RTNUS" NUMBER(13, 4),
REM "UNT_POC" VARCHAR2(3), "QTY_POC" NUMBER(14, 6), "MNY_DELUS"
REM NUMBER(13, 4), "VAL_RATE" NUMBER(9, 4), "MNY_RTN" NUMBER(13, 4),
REM "CST_RTN" NUMBER(14, 5), "CST_MNY" NUMBER(17, 4), "COD_RTN"
REM VARCHAR2(2), "TYP_PROC" VARCHAR2(2), "CLS_ARMM" VARCHAR2(3), "REMARK"
REM VARCHAR2(200), "STS_LIN" VARCHAR2(2), "NUM_DISM" VARCHAR2(12),
REM "DAT_DICT" VARCHAR2(8), "MNY_DISD" NUMBER(17, 4), "QTY_DISD"
REM NUMBER(11, 3), "DPT_CTL" VARCHAR2(8), "COD_LOC" VARCHAR2(10),
REM "STS_EC" VARCHAR2(2), "EMP_TRN" VARCHAR2(8), "DTM_TRN" VARCHAR2(16))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("QTY_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("QTY_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("PRS_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("MNY_RTNUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("QTY_POC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("MNY_DELUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("MNY_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("CST_RTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("CST_MNY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("MNY_DISD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EC_RTRND" MODIFY ("QTY_DISD" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_RTRND" ON "EC_RTRND" ("NUM_RTN" ,
"LIN_RTN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EC_RTRND" ADD CONSTRAINT "PK_EC_RTRND" PRIMARY
REM KEY ("NUM_RTN", "LIN_RTN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EC_RTRNM" ("NUM_RTN" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_RTN" VARCHAR2(8), "NUM_CUST" VARCHAR2(10), "DPT_CUST"
REM VARCHAR2(8), "COD_EMP" VARCHAR2(8), "COD_SALES" VARCHAR2(8),
REM "DAT_KEYIN" VARCHAR2(8), "COD_EMPIN" VARCHAR2(8), "NUM_CSRTN"
REM VARCHAR2(12), "NUM_CNTL" VARCHAR2(16), "DPT_CTL" VARCHAR2(8),
REM "REMARK" VARCHAR2(600), "STS_EC" VARCHAR2(2), "EMP_TRN" VARCHAR2(8),
REM "DTM_TRN" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EC_RTRNM" ON "EC_RTRNM" ("NUM_RTN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EC_RTRNM" ADD CONSTRAINT "PK_EC_RTRNM" PRIMARY
REM KEY ("NUM_RTN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDICD" ("NUM_CUST" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_TYP" VARCHAR2(2) NOT NULL ENABLE, "COD_EDI" VARCHAR2(6)
REM NOT NULL ENABLE, "DSC_EDI" VARCHAR2(60), "COD_CIM" VARCHAR2(4))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDICD" ON "EDICD" ("NUM_CUST" , "COD_TYP"
, "COD_EDI" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EDICD" ADD CONSTRAINT "PK_EDICD" PRIMARY KEY
REM ("NUM_CUST", "COD_TYP", "COD_EDI") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDMBINGO" ("NUM_BING" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_ETQM" VARCHAR2(12), "EMAIL" VARCHAR2(100), "DTM_MAIL"
REM VARCHAR2(16), "DTM_BEG" VARCHAR2(16), "CLS_AWARD" VARCHAR2(10),
REM "TYP_AWARD" VARCHAR2(20), "NAM_AWARD" VARCHAR2(20), "NAM_LUCK"
REM VARCHAR2(8), "TEL_LUCK" VARCHAR2(20), "ADR_LUCK" VARCHAR2(100),
REM "STS_BINGO" VARCHAR2(2), "SEQ_BINGO" VARCHAR2(10)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDMBINGO" ON "EDMBINGO" ("NUM_BING" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDMBINGO" ADD CONSTRAINT "PK_EDMBINGO" PRIMARY
REM KEY ("NUM_BING") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDMLOG" ("NUM_ETQM" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(12), "RCV_ATTN" VARCHAR2(12), "RCV_NAME"
REM VARCHAR2(20), "EMAIL" VARCHAR2(100) NOT NULL ENABLE, "DTM_MAIL"
REM VARCHAR2(16), "DTM_EDM" VARCHAR2(16), "DTM_DISK" VARCHAR2(16),
REM "DTM_QS" VARCHAR2(16), "DTM_ANS" VARCHAR2(16), "CST_RELAT"
REM VARCHAR2(4), "FROM_EMAIL" VARCHAR2(100), "REMARK" VARCHAR2(600),
REM "DTM_SEC1" VARCHAR2(16), "DTM_SEC2" VARCHAR2(16), "DTM_SEC3"
REM VARCHAR2(16), "DTM_SEC4" VARCHAR2(16), "DTM_SEC5" VARCHAR2(16),
REM "DTM_SEC6" VARCHAR2(16), "DAT_UPD" VARCHAR2(14), "CNT_SURF" NUMBER(3,
REM 0), "LST_FROMIP" VARCHAR2(60), "NAM_GIFT" VARCHAR2(20), "CNT_BINGO"
REM NUMBER(2, 0), "NUM_CASE" VARCHAR2(16), "NUM_ELOG" VARCHAR2(16),
REM "EMAIL_FROM" VARCHAR2(10), "STS_SEND" VARCHAR2(2), "DTM_SEC7"
REM VARCHAR2(16), "DTM_SEC8" VARCHAR2(16), "DTM_SEC9" VARCHAR2(16),
REM "DTM_SEC10" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EDMLOG" MODIFY ("CNT_SURF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDMLOG" MODIFY ("CNT_BINGO" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDMLOG" ON "EDMLOG" ("NUM_ETQM" , "EMAIL"
, "DTM_MAIL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX2_EDMLOG" ON "EDMLOG" ("NUM_CASE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_EDMLOG" ON "EDMLOG" ("COD_CUST" , "EMAIL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDMLOG" ADD CONSTRAINT "PK_EDMLOG" PRIMARY KEY
REM ("NUM_ETQM", "EMAIL", "DTM_MAIL") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDMLOGT" ("NUM_LOGT" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_ETQM" VARCHAR2(12), "EMAIL" VARCHAR2(100), "DTM_MAIL"
REM VARCHAR2(16), "STS_EDMR" VARCHAR2(4), "CLS_EDMR" VARCHAR2(4),
REM "DSC_EDMR" VARCHAR2(600), "DAT_EDMR" VARCHAR2(8), "UID_EDMR"
REM VARCHAR2(8), "CLS2_EDMR" VARCHAR2(4), "CLS3_EDMR" VARCHAR2(4), "PS1"
REM VARCHAR2(600)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDMLOGT" ON "EDMLOGT" ("NUM_LOGT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDMLOGT" ADD CONSTRAINT "PK_EDMLOGT" PRIMARY
REM KEY ("NUM_LOGT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDMLOGV" ("NUM_LOGV" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_ETQM" VARCHAR2(12), "EMAIL" VARCHAR2(100), "DTM_MAIL"
REM VARCHAR2(16), "TYP_LOGV" VARCHAR2(1), "DTM_LOGV" VARCHAR2(16),
REM "COD_EDMSEG" VARCHAR2(4), "DSC_EDMSEG" VARCHAR2(100), "PS1"
REM VARCHAR2(1000), "COD_EDMS2" VARCHAR2(4)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDMLOGV" ON "EDMLOGV" ("NUM_LOGV" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDMLOGV" ADD CONSTRAINT "PK_EDMLOGV" PRIMARY
REM KEY ("NUM_LOGV") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDMRJT" ("NUM_MRJT" VARCHAR2(20) NOT NULL
REM ENABLE, "FRM_MAIL" VARCHAR2(100), "TO_MAIL" VARCHAR2(100), "DSC_JRT"
REM VARCHAR2(600), "STS_MRJT" VARCHAR2(2), "CST_RELAT" VARCHAR2(10),
REM "COD_CUST" VARCHAR2(12), "RCV_NAME" VARCHAR2(20), "DAT_PROC"
REM VARCHAR2(8), "UID_PROC" VARCHAR2(8), "DAT_COMP" VARCHAR2(8),
REM "UID_COMP" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDMRJT" ON "EDMRJT" ("NUM_MRJT" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDMRJT" ADD CONSTRAINT "PK_EDMRJT" PRIMARY KEY
REM ("NUM_MRJT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDSD" ("NUM_EDSM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_EDSM" VARCHAR2(4) NOT NULL ENABLE, "NUM_POR"
REM VARCHAR2(12), "LIN_POR" VARCHAR2(4), "NUM_CUST" VARCHAR2(12),
REM "NUM_PO" VARCHAR2(12), "SER_PO" VARCHAR2(3), "LINE" VARCHAR2(4),
REM "COD_ITEMO" VARCHAR2(18), "COD_ITEM" VARCHAR2(18), "QTY_REQ"
REM NUMBER(11, 0), "UNIT" VARCHAR2(3), "UNT_PRIC" NUMBER(14, 5),
REM "AMT_PRIC" NUMBER(13, 4), "DAT_DEL" VARCHAR2(8), "QTY_DEL" NUMBER(11,
REM 3), "STS_LINE" VARCHAR2(2), "MNY_DSC" NUMBER(13, 5), "SPC_ITEM"
REM VARCHAR2(70), "NAM_ITEM" VARCHAR2(70), "NUM_CUSTD" VARCHAR2(12),
REM "ADR_DEL" VARCHAR2(100), "COD_SIGN" VARCHAR2(1), "COD_POR"
REM VARCHAR2(2), "DSP_POR" VARCHAR2(50), "QTY_POR" NUMBER(16, 0),
REM "UNT_POR" VARCHAR2(3), "PIC_POR" NUMBER(14, 5), "AMT_POR" NUMBER(11,
REM 3), "DAT_POR" VARCHAR2(8), "COD_BATH" VARCHAR2(1), "NUM_RFF2"
REM VARCHAR2(12), "REMARK" VARCHAR2(35), "PRIC_151" NUMBER(13, 5),
REM "DAT_O2R" VARCHAR2(8), "QTY_BOX" NUMBER(11, 1), "UNT_BOX"
REM VARCHAR2(3), "COD_REQ" VARCHAR2(3), "QTY_STK" NUMBER(11, 1),
REM "DAT_POR1" VARCHAR2(8), "DSP_PS" VARCHAR2(20), "A_POTP" VARCHAR2(3),
REM "A_POST" VARCHAR2(1), "A_SLON" VARCHAR2(30), "A_PKG_ID" VARCHAR2(35),
REM "A_SLPN" VARCHAR2(35), "A_VER" VARCHAR2(3), "BRAND" VARCHAR2(8),
REM "QTY_DES" NUMBER(10, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("UNT_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("AMT_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("QTY_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("PIC_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("AMT_POR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("PRIC_151" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("QTY_BOX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSD" MODIFY ("QTY_DES" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDSD" ON "EDSD" ("NUM_EDSM" , "LIN_EDSM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDSD" ADD CONSTRAINT "PK_EDSD" PRIMARY KEY
REM ("NUM_EDSM", "LIN_EDSM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EDSM" ("NUM_EDSM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_IN" VARCHAR2(8), "TIM_IN" VARCHAR2(6), "DAT_SEND"
REM VARCHAR2(8), "TIM_SEND" VARCHAR2(6), "STS_SEND" VARCHAR2(1),
REM "COD_PRO" VARCHAR2(6), "COD_SDR" VARCHAR2(16), "COD_RCR"
REM VARCHAR2(16), "CLS_CUST" VARCHAR2(3), "NUM_CUST" VARCHAR2(12),
REM "NUM_CDPT" VARCHAR2(12), "COD_CDPT" VARCHAR2(8), "NAM_CDPT"
REM VARCHAR2(30), "COD_EMPSL" VARCHAR2(5), "COD_DEPT" VARCHAR2(8),
REM "NAM_ATTN" VARCHAR2(10), "NUM_TEL" VARCHAR2(25), "COD_EMPIN"
REM VARCHAR2(5), "NUM_PO" VARCHAR2(12), "SER_PO" VARCHAR2(3), "NUM_RFF"
REM VARCHAR2(12), "DAT_PO" VARCHAR2(8), "DAT_RFF" VARCHAR2(8), "NUM_AGRE"
REM VARCHAR2(12), "COD_XFER" VARCHAR2(3), "ADDR_DEL" VARCHAR2(100),
REM "COD_PAYM" VARCHAR2(6), "DSP_PAYM" VARCHAR2(30), "COD_DOLA"
REM VARCHAR2(3), "DSP_DOLA" VARCHAR2(12), "DAT_DELS" VARCHAR2(8),
REM "DAT_DELA" VARCHAR2(8), "NUM_FAX" VARCHAR2(25), "STS_PO" VARCHAR2(2),
REM "AMT_TOT" NUMBER(16, 5), "MNY_DSC" NUMBER(16, 5), "MNY_DSC2"
REM NUMBER(16, 5), "MNY_TRN" NUMBER(16, 5), "MNY_INSU" NUMBER(16, 5),
REM "MNY_PROC" NUMBER(16, 5), "MNY_OTHS" NUMBER(16, 5), "AMT_PO"
REM NUMBER(16, 5), "NUM_POR" VARCHAR2(12), "DAT_POR" VARCHAR2(8),
REM "COD_SIGN" VARCHAR2(1), "COD_POR" VARCHAR2(2), "DSP_POR"
REM VARCHAR2(50), "STS_POR" VARCHAR2(1), "NUM_EDIR" VARCHAR2(10),
REM "NUM_INV" VARCHAR2(10), "DAT_INV" VARCHAR2(8), "NAM_CUST"
REM VARCHAR2(12), "COD_CUST" VARCHAR2(6), "DAT_AREC" VARCHAR2(8),
REM "NUM_DEL" VARCHAR2(12), "COD_TPAYM" VARCHAR2(3), "AMT_D" NUMBER(16,
REM 5), "COD_FUM" VARCHAR2(3), "QTY_BOX" NUMBER(11, 1), "UNU_BOX"
REM VARCHAR2(3), "A_MSG" VARCHAR2(3), "A_RFF" VARCHAR2(35), "NO_MSG"
REM VARCHAR2(11), "COD_FACT" VARCHAR2(6), "A_BATTCD" VARCHAR2(6),
REM "A_BATTNM" VARCHAR2(35), "A_SATTCD" VARCHAR2(6), "A_SATTNM"
REM VARCHAR2(35), "A_SLON" VARCHAR2(35), "A_CODXFER" VARCHAR2(3),
REM "UNT_WET" VARCHAR2(3), "TOT_WET" NUMBER(12, 2), "UNT_PKG"
REM VARCHAR2(3), "TOT_PKG" NUMBER(3, 0), "TOT_PLT" NUMBER(3, 0), "NO_WB"
REM VARCHAR2(35), "NO_PS" VARCHAR2(10), "A_UH" VARCHAR2(3), "A_SHNM"
REM VARCHAR2(50), "A_SHAD1" VARCHAR2(50), "A_SHAD2" VARCHAR2(35),
REM "A_SHAD3" VARCHAR2(9), "A_SHAD4" VARCHAR2(3), "A_FORW" VARCHAR2(50),
REM "DAT_DA" VARCHAR2(6), "PAT_ED" VARCHAR2(8), "NUM_FACT" VARCHAR2(10),
REM "COD_ACER" VARCHAR2(6)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("AMT_TOT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("MNY_DSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("MNY_DSC2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("MNY_INSU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("MNY_PROC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("MNY_OTHS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("AMT_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("AMT_D" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("QTY_BOX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EDSM" MODIFY ("TOT_WET" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EDSM" ON "EDSM" ("NUM_EDSM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EDSM" ADD CONSTRAINT "PK_EDSM" PRIMARY KEY
REM ("NUM_EDSM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EEDUH" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "LIN_EDU" VARCHAR2(3) NOT NULL ENABLE, "COD_SHUL" VARCHAR2(50),
REM "COD_MJR" VARCHAR2(3), "COD_EDU" VARCHAR2(3), "DAT_EDUB" VARCHAR2(8),
REM "DAT_EDUE" VARCHAR2(8), "COD_GDU" VARCHAR2(1), "NUM_CLSS"
REM VARCHAR2(3), "QTY_ALL" NUMBER(5, 0), "NUM_ORD" NUMBER(5, 0),
REM "COD_SPEC" VARCHAR2(5), "DAT_INPUT" VARCHAR2(8), "DSP_PS"
REM VARCHAR2(20), "NAM_MJR" VARCHAR2(20)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EEDUH" MODIFY ("QTY_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEDUH" MODIFY ("NUM_ORD" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EEDUH" ON "EEDUH" ("COD_EMP" , "LIN_EDU"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EEDUH" ADD CONSTRAINT "PK_EEDUH" PRIMARY KEY
REM ("COD_EMP", "LIN_EDU") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EEMLV" ("DAT_EMLV" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "COD_DEPP"
REM VARCHAR2(8), "LEV_POSP" VARCHAR2(4), "LEV_STAGP" NUMBER(2, 0),
REM "MNY_SALYP" NUMBER(10, 3), "COD_DEPA" VARCHAR2(8), "LEV_POSA"
REM VARCHAR2(4), "LEV_STAGA" NUMBER(2, 0), "MNY_SALYA" NUMBER(10, 3),
REM "TRN_RSN" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EEMLV" MODIFY ("LEV_STAGP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMLV" MODIFY ("MNY_SALYP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMLV" MODIFY ("LEV_STAGA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMLV" MODIFY ("MNY_SALYA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EEMLV" ON "EEMLV" ("DAT_EMLV" , "COD_EMP"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EEMLV" ADD CONSTRAINT "PK_EEMLV" PRIMARY KEY
REM ("DAT_EMLV", "COD_EMP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EEMPB" ("COD_DEPT" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8), "NAM_EMP" VARCHAR2(10), "PATH_GRPH"
REM VARCHAR2(40), "NUM_ID" VARCHAR2(20), "DAT_BTH" VARCHAR2(8), "COD_SEX"
REM VARCHAR2(1), "COD_BLD" VARCHAR2(2), "COD_CTR" VARCHAR2(3), "COD_BTP"
REM VARCHAR2(3), "COD_MRY" VARCHAR2(1), "ADR_P" VARCHAR2(100), "ADR_R"
REM VARCHAR2(100), "NUM_TEL1" VARCHAR2(20), "NUM_TEL2" VARCHAR2(20),
REM "NUM_CALL" VARCHAR2(20), "NUM_TELM" VARCHAR2(20), "NAM_CN"
REM VARCHAR2(10), "TEL_CN" VARCHAR2(20), "COD_CNR" VARCHAR2(3),
REM "TYP_PAYM" VARCHAR2(3), "CLS_MNYB" VARCHAR2(4), "CLS_MNYE"
REM VARCHAR2(4), "DAT_IN" VARCHAR2(8), "DAT_OUT" VARCHAR2(8), "DAT_INS"
REM VARCHAR2(8), "DAT_HLT" VARCHAR2(8), "COD_POS" VARCHAR2(2), "COD_STN"
REM VARCHAR2(8), "STS_EMPB" VARCHAR2(2), "WK_YEARS" NUMBER(5, 2),
REM "RST_YEAR" NUMBER(5, 2), "BAS_YEAR" NUMBER(5, 2), "RND_YEAR"
REM NUMBER(5, 2), "COD_CAR" VARCHAR2(12), "COD_EDU" VARCHAR2(3),
REM "TYP_EMP" VARCHAR2(2), "AMT_CRDT" NUMBER(12, 0), "BEF_YERS" NUMBER(5,
REM 2), "TYP_CAR" VARCHAR2(1), "REMARK" VARCHAR2(200), "DAT_INSG"
REM VARCHAR2(8), "LEV_POS" VARCHAR2(4), "RUL_SALY" VARCHAR2(1),
REM "FIX_SALY" VARCHAR2(1), "NUM_CNTL" VARCHAR2(16), "LEV_STAG" NUMBER(2,
REM 0), "COD_FRM" VARCHAR2(3), "NAM_EMPE" VARCHAR2(40), "STN_TEL"
REM VARCHAR2(6), "WK_MONS" NUMBER(5, 2), "NAM_MAIL" VARCHAR2(50),
REM "COD_ID" VARCHAR2(1), "DAT_USET" VARCHAR2(8), "NUM_CNTLS"
REM VARCHAR2(16), "NUM_IDE" VARCHAR2(15), "COD_POS1" VARCHAR2(2),
REM "NAM_INTR" VARCHAR2(10), "DAT_ENTER" VARCHAR2(8), "DPT_CTL"
REM VARCHAR2(10), "DAT_TRYE" VARCHAR2(8), "COD_WORK" VARCHAR2(8),
REM "COD_ETH" VARCHAR2(2), "DOC_SAVE" VARCHAR2(40), "COD_ADRP"
REM VARCHAR2(8), "COD_ADRR" VARCHAR2(8), "NO_CAR" VARCHAR2(10), "PS_N4"
REM NUMBER(8, 2), "PS_N1" NUMBER(8, 2), "PS_N2" NUMBER(8, 2), "PS_N3"
REM NUMBER(8, 2), "DAT_IN1" VARCHAR2(8), "DISC_ONCA" NUMBER(5, 2))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 131072
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("WK_YEARS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("RST_YEAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("BAS_YEAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("RND_YEAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("AMT_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("BEF_YERS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("RUL_SALY" DEFAULT 'M') ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("FIX_SALY" DEFAULT 'Y') ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("LEV_STAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("WK_MONS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("COD_ID" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_EEMPB" ON "EEMPB" ("COD_DEPT" , "COD_EMP" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_EEMPB" ON "EEMPB" ("COD_EMP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EEMPB" ADD CONSTRAINT "PK_EEMPB" PRIMARY KEY
REM ("COD_EMP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EEMPB_POS" ("COD_DEPT" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8), "NAM_EMP" VARCHAR2(10), "PATH_GRPH"
REM VARCHAR2(40), "NUM_ID" VARCHAR2(20), "DAT_BTH" VARCHAR2(8), "COD_SEX"
REM VARCHAR2(1), "COD_BLD" VARCHAR2(2), "COD_CTR" VARCHAR2(3), "COD_FRM"
REM VARCHAR2(3), "COD_BTP" VARCHAR2(3), "COD_MRY" VARCHAR2(1), "ADR_P"
REM VARCHAR2(100), "ADR_R" VARCHAR2(100), "NUM_TEL1" VARCHAR2(20),
REM "NUM_TEL2" VARCHAR2(20), "NUM_CALL" VARCHAR2(20), "NUM_TELM"
REM VARCHAR2(20), "NAM_CN" VARCHAR2(10), "TEL_CN" VARCHAR2(20), "COD_CNR"
REM VARCHAR2(3), "TYP_PAYM" VARCHAR2(3), "CLS_MNYB" VARCHAR2(4),
REM "CLS_MNYE" VARCHAR2(4), "DAT_IN" VARCHAR2(8), "DAT_OUT" VARCHAR2(8),
REM "DAT_INS" VARCHAR2(8), "DAT_HLT" VARCHAR2(8), "COD_POS" VARCHAR2(3),
REM "LEV_POS" VARCHAR2(4), "LEV_STAG" NUMBER(2, 0), "COD_STN"
REM VARCHAR2(8), "STS_EMPB" VARCHAR2(2), "WK_YEARS" NUMBER(5, 2),
REM "RST_YEAR" NUMBER(6, 3), "BAS_YEAR" NUMBER(6, 3), "RND_YEAR"
REM NUMBER(6, 3), "COD_CAR" VARCHAR2(12), "COD_EDU" VARCHAR2(3),
REM "TYP_EMP" VARCHAR2(2), "AMT_CRDT" NUMBER(12, 0), "BEF_YERS" NUMBER(5,
REM 2), "TYP_CAR" VARCHAR2(1), "REMARK" VARCHAR2(2000), "DAT_INSG"
REM VARCHAR2(8), "RUL_SALY" VARCHAR2(1), "FIX_SALY" VARCHAR2(1),
REM "NUM_CNTL" VARCHAR2(16), "NUM_CNTLS" VARCHAR2(16), "NAM_EMPE"
REM VARCHAR2(40), "STN_TEL" VARCHAR2(6), "WK_MONS" NUMBER(5, 2),
REM "NAM_MAIL" VARCHAR2(50), "COD_ID" VARCHAR2(1), "DAT_USET"
REM VARCHAR2(8), "NUM_IDE" VARCHAR2(15), "COD_POS1" VARCHAR2(3),
REM "NAM_INTR" VARCHAR2(10), "DAT_ENTER" VARCHAR2(8), "DPT_CTL"
REM VARCHAR2(10), "DAT_TRYE" VARCHAR2(8), "COD_WORK" VARCHAR2(8),
REM "COD_ETH" VARCHAR2(2), "DOC_SAVE" VARCHAR2(40), "COD_ADRP"
REM VARCHAR2(8), "COD_ADRR" VARCHAR2(8), "BAS_EFFE" NUMBER(3, 0),
REM "NO_CAR" VARCHAR2(10), "PS_N1" NUMBER(8, 2), "PS_N2" NUMBER(8, 2),
REM "PS_N3" NUMBER(8, 2), "PS_N4" NUMBER(8, 2), "EMP_UPD" VARCHAR2(8),
REM "DAT_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("LEV_STAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("WK_YEARS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("RST_YEAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("BAS_YEAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("RND_YEAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("AMT_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("BEF_YERS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("RUL_SALY" DEFAULT 'M') ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("FIX_SALY" DEFAULT 'Y') ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("WK_MONS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("COD_ID" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("BAS_EFFE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" MODIFY ("DAT_UPD" DEFAULT
REM TO_CHAR(SYSDATE,'YYYYMMDD')) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EEMPB_POS" ON "EEMPB_POS" ("COD_EMP" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EEMPB_POS" ADD CONSTRAINT "PK_EEMPB_POS"
REM PRIMARY KEY ("COD_EMP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EETRA" ("NUM_ETRA" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8), "COD_DEPT" VARCHAR2(8), "CLS_REST"
REM VARCHAR2(1), "COD_REST" VARCHAR2(3), "DAT_BEG" VARCHAR2(8), "TIM_BEG"
REM VARCHAR2(4), "DAT_END" VARCHAR2(8), "TIM_END" VARCHAR2(4), "DAY_ETRA"
REM NUMBER(6, 2), "HUR_ETRA" NUMBER(6, 2), "EMP_KEYIN" VARCHAR2(8),
REM "DAT_KEYIN" VARCHAR2(8), "DAT_SING" VARCHAR2(8), "TIM_SING"
REM VARCHAR2(4), "EMP_SING" VARCHAR2(8), "COD_SING" VARCHAR2(2),
REM "DSP_ETRA" VARCHAR2(30), "COD_AGENT" VARCHAR2(8), "COD_EVENT"
REM VARCHAR2(3), "ADJ_FLAG" VARCHAR2(1), "DAT_CANCEL" VARCHAR2(8),
REM "EMP_CANCEL" VARCHAR2(8), "DAT_MANG" VARCHAR2(8), "EMP_MANG"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EETRA" MODIFY ("DAY_ETRA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EETRA" MODIFY ("HUR_ETRA" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_EETRA" ON "EETRA" ("DAT_BEG" , "DAT_END" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_EETRA" ON "EETRA" ("COD_EMP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_EETRA" ON "EETRA" ("NUM_ETRA" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EETRA" ADD CONSTRAINT "PK_EETRA" PRIMARY KEY
REM ("NUM_ETRA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EFAML" ("ID_FAM" VARCHAR2(20), "COD_EMP"
REM VARCHAR2(8) NOT NULL ENABLE, "LIN_FAM" VARCHAR2(2) NOT NULL ENABLE,
REM "NAM_FAM" VARCHAR2(10), "RAL_FAM" VARCHAR2(2), "DAT_BTH" VARCHAR2(8),
REM "DSP_DEPT" VARCHAR2(20), "COD_SAVE" VARCHAR2(1), "COD_CARE"
REM VARCHAR2(1), "DAT_INS" VARCHAR2(8), "COD_SAVEG" VARCHAR2(1)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EFAML" MODIFY ("COD_SAVEG" DEFAULT 'N') ;
CREATE UNIQUE INDEX "MFTEST"."PK_EFAML" ON "EFAML" ("COD_EMP" , "LIN_FAM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EFAML" ADD CONSTRAINT "PK_EFAML" PRIMARY KEY
REM ("COD_EMP", "LIN_FAM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EFULD" ("COD_FULL" VARCHAR2(2) NOT NULL
REM ENABLE, "TYP_DISC" VARCHAR2(2) NOT NULL ENABLE, "COD_POS" VARCHAR2(3)
REM NOT NULL ENABLE, "VAL_BEG" NUMBER(6, 2) NOT NULL ENABLE, "VAL_END"
REM NUMBER(6, 2), "MNY_DISC" NUMBER(10, 3), "RAT_DISC" NUMBER(6, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EFULD" MODIFY ("VAL_BEG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."EFULD" MODIFY ("VAL_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EFULD" MODIFY ("MNY_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EFULD" MODIFY ("RAT_DISC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EFULD" ON "EFULD" ("COD_FULL" ,
"TYP_DISC" , "COD_POS" , "VAL_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EFULD" ADD CONSTRAINT "PK_EFULD" PRIMARY KEY
REM ("COD_FULL", "TYP_DISC", "COD_POS", "VAL_BEG") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EFULL" ("TYP_EMP" VARCHAR2(2) NOT NULL ENABLE,
REM "COD_POS" VARCHAR2(2) NOT NULL ENABLE, "COD_SALY" VARCHAR2(2) NOT
REM NULL ENABLE, "MNY_SALY" NUMBER(10, 3), "SUM_DLY" NUMBER(4, 0),
REM "MAX_DLY" NUMBER(4, 0), "CNT_DLY" NUMBER(4, 0), "TIM_SEC" NUMBER(4,
REM 0), "COD_FULL" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EFULL" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EFULL" MODIFY ("SUM_DLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EFULL" MODIFY ("MAX_DLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EFULL" MODIFY ("CNT_DLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EFULL" MODIFY ("TIM_SEC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EFULL" ON "EFULL" ("TYP_EMP" , "COD_POS"
, "COD_SALY" , "COD_FULL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EFULL" ADD CONSTRAINT "PK_EFULL" PRIMARY KEY
REM ("TYP_EMP", "COD_POS", "COD_SALY", "COD_FULL") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSC" ("DAT_INS" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "RAG_INS" VARCHAR2(1) NOT NULL
REM ENABLE, "AMT_INS" NUMBER(11, 3), "MNY_INS" NUMBER(11, 3), "MNY_EMPL"
REM NUMBER(11, 3), "MNY_COMP" NUMBER(11, 3), "DAT_RTN" VARCHAR2(8),
REM "RSN_RTN" VARCHAR2(2), "DAT_TRN" VARCHAR2(8), "STS_INSC" VARCHAR2(2))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSC" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSC" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSC" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSC" MODIFY ("MNY_COMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSC" ON "EINSC" ("DAT_INS" , "COD_EMP"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EINSC" ADD CONSTRAINT "PK_EINSC" PRIMARY KEY
REM ("DAT_INS", "COD_EMP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSCH" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "RAG_INS" VARCHAR2(1)
REM NOT NULL ENABLE, "AMT_INS" NUMBER(11, 3), "MNY_INS" NUMBER(11, 3),
REM "MNY_EMPL" NUMBER(11, 3), "MNY_COMP" NUMBER(11, 3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSCH" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSCH" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSCH" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSCH" MODIFY ("MNY_COMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSCH" ON "EINSCH" ("COD_EMP" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSCH" ADD CONSTRAINT "PK_EINSCH" PRIMARY KEY
REM ("COD_EMP", "DAT_TRN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSG" ("DAT_INS" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "AMT_INS" NUMBER(11, 3),
REM "MNY_INS" NUMBER(11, 3), "MNY_EMPL" NUMBER(11, 3), "MNY_COMP"
REM NUMBER(11, 3), "DAT_RTN" VARCHAR2(8), "RSN_RTN" VARCHAR2(2),
REM "DAT_TRN" VARCHAR2(8), "STS_INSG" VARCHAR2(2), "RAG_INS" VARCHAR2(3),
REM "CNT_FAML" NUMBER(2, 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSG" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSG" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSG" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSG" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSG" MODIFY ("CNT_FAML" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSG" ON "EINSG" ("DAT_INS" , "COD_EMP"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EINSG" ADD CONSTRAINT "PK_EINSG" PRIMARY KEY
REM ("DAT_INS", "COD_EMP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSGF" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "LIN_FAM" VARCHAR2(2) NOT NULL ENABLE, "DAT_INS" VARCHAR2(8)
REM NOT NULL ENABLE, "CLS_INS" VARCHAR2(2), "RSN_INS" VARCHAR2(2),
REM "DAT_RTN" VARCHAR2(8), "RSN_RTN" VARCHAR2(2), "STS_INSG" VARCHAR2(2),
REM "MNY_FAM" NUMBER(11, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSGF" MODIFY ("MNY_FAM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSGF" ON "EINSGF" ("COD_EMP" ,
"LIN_FAM" , "DAT_INS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EINSGF" ADD CONSTRAINT "PK_EINSGF" PRIMARY KEY
REM ("COD_EMP", "LIN_FAM", "DAT_INS") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSGH" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "AMT_INS" NUMBER(11,
REM 3), "MNY_INS" NUMBER(11, 3), "MNY_EMPL" NUMBER(11, 3), "MNY_COMP"
REM NUMBER(11, 3), "RAG_INS" VARCHAR2(3), "CNT_FAML" NUMBER(2, 0))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSGH" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSGH" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSGH" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSGH" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSGH" MODIFY ("CNT_FAML" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSGH" ON "EINSGH" ("COD_EMP" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSGH" ADD CONSTRAINT "PK_EINSGH" PRIMARY KEY
REM ("COD_EMP", "DAT_TRN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSH" ("DAT_INS" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "INSH_CLS" VARCHAR2(2),
REM "CLS_INS" VARCHAR2(2), "RSN_INS" VARCHAR2(2), "RAG_INS" VARCHAR2(2),
REM "AMT_INS" NUMBER(11, 3), "MNY_EMPL" NUMBER(11, 3), "MNY_COMP"
REM NUMBER(11, 3), "MNY_GRAT" NUMBER(11, 3), "COD_GRAT" VARCHAR2(2),
REM "CNT_FAML" NUMBER(2, 0), "DAT_RTN" VARCHAR2(8), "RSN_RTN"
REM VARCHAR2(2), "DAT_TRN" VARCHAR2(8), "STS_INSH" VARCHAR2(2), "DAT_ACT"
REM VARCHAR2(8), "COD_ACT" VARCHAR2(1), "INS_AREA" VARCHAR2(2),
REM "NUM_CNTL" VARCHAR2(16), "MNY_GRATE" NUMBER(11, 3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSH" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSH" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSH" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSH" MODIFY ("MNY_GRAT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSH" MODIFY ("CNT_FAML" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSH" MODIFY ("MNY_GRATE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_EINSH" ON "EINSH" ("COD_EMP" ,
"DAT_ACT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSH" ON "EINSH" ("DAT_INS" , "COD_EMP"
, "DAT_ACT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSH" ADD CONSTRAINT "PK_EINSH" PRIMARY KEY
REM ("DAT_INS", "COD_EMP", "DAT_ACT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSHF" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "LIN_FAM" VARCHAR2(2) NOT NULL ENABLE, "DAT_INS" VARCHAR2(8)
REM NOT NULL ENABLE, "CLS_INS" VARCHAR2(2), "RSN_INS" VARCHAR2(2),
REM "DAT_RTN" VARCHAR2(8), "RSN_RTN" VARCHAR2(2), "STS_INSH" VARCHAR2(2),
REM "DAT_ACT" VARCHAR2(8), "COD_ACT" VARCHAR2(1), "COD_GRAT" VARCHAR2(2))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSHF" ON "EINSHF" ("COD_EMP" ,
"LIN_FAM" , "DAT_INS" , "DAT_ACT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EINSHF" ADD CONSTRAINT "PK_EINSHF" PRIMARY KEY
REM ("COD_EMP", "LIN_FAM", "DAT_INS", "DAT_ACT") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSHH" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "INSH_CLS"
REM VARCHAR2(2), "CLS_INS" VARCHAR2(2), "RSN_INS" VARCHAR2(2), "RAG_INS"
REM VARCHAR2(2), "AMT_INS" NUMBER(11, 3), "MNY_EMPL" NUMBER(11, 3),
REM "MNY_COMP" NUMBER(11, 3), "MNY_GRAT" NUMBER(11, 3), "COD_GRAT"
REM VARCHAR2(2), "CNT_FAML" NUMBER(2, 0), "DAT_ACT" VARCHAR2(8),
REM "INS_AREA" VARCHAR2(2), "MNY_GRATE" NUMBER(11, 3)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSHH" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSHH" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSHH" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSHH" MODIFY ("MNY_GRAT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSHH" MODIFY ("CNT_FAML" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSHH" MODIFY ("MNY_GRATE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSHH" ON "EINSHH" ("COD_EMP" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSHH" ADD CONSTRAINT "PK_EINSHH" PRIMARY KEY
REM ("COD_EMP", "DAT_TRN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSO" ("DAT_INS" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "RSN_INS" VARCHAR2(2),
REM "COD_INS" VARCHAR2(2) NOT NULL ENABLE, "AMT_INS" NUMBER(11, 3),
REM "MNY_EMPL" NUMBER(11, 3), "MNY_COMP" NUMBER(11, 3), "DAT_RTN"
REM VARCHAR2(8), "RSN_RTN" VARCHAR2(2), "DAT_TRN" VARCHAR2(8), "STS_INSO"
REM VARCHAR2(2), "DAT_ACT" VARCHAR2(8), "COD_ACT" VARCHAR2(1), "NUM_CNTL"
REM VARCHAR2(16), "SEQ_NO" VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSO" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSO" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSO" MODIFY ("MNY_COMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSO" ON "EINSO" ("DAT_INS" , "COD_EMP"
, "COD_INS" , "DAT_ACT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EINSO" ADD CONSTRAINT "PK_EINSO" PRIMARY KEY
REM ("DAT_INS", "COD_EMP", "COD_INS", "DAT_ACT") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSOH" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "RSN_INS" VARCHAR2(2),
REM "COD_INS" VARCHAR2(2), "AMT_INS" NUMBER(11, 3), "MNY_EMPL" NUMBER(11,
REM 3), "MNY_COMP" NUMBER(11, 3), "DAT_ACT" VARCHAR2(8), "SEQ_NO"
REM VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSOH" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSOH" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSOH" MODIFY ("MNY_COMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSOH" ON "EINSOH" ("COD_EMP" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSOH" ADD CONSTRAINT "PK_EINSOH" PRIMARY KEY
REM ("COD_EMP", "DAT_TRN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSOR" ("COD_INS" VARCHAR2(2) NOT NULL
REM ENABLE, "TYP_EMP" VARCHAR2(2) NOT NULL ENABLE, "DAT_INSB" VARCHAR2(8)
REM NOT NULL ENABLE, "AMT_RAGB" NUMBER(11, 3), "AMT_RAGE" NUMBER(11, 3),
REM "RAT_EMPL" NUMBER(6, 2), "RAT_COMP" NUMBER(6, 2), "COD_SALY"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSOR" MODIFY ("AMT_RAGB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSOR" MODIFY ("AMT_RAGE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSOR" ON "EINSOR" ("COD_INS" ,
"TYP_EMP" , "DAT_INSB" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EINSOR" ADD CONSTRAINT "PK_EINSOR" PRIMARY KEY
REM ("COD_INS", "TYP_EMP", "DAT_INSB") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSR" ("CLS_INS" VARCHAR2(1) NOT NULL ENABLE,
REM "DAT_INSB" VARCHAR2(8) NOT NULL ENABLE, "RAG_INS" VARCHAR2(2) NOT
REM NULL ENABLE, "AMT_RAGB" NUMBER(11, 3), "AMT_RAGE" NUMBER(11, 3),
REM "AMT_INS" NUMBER(11, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSR" MODIFY ("AMT_RAGB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSR" MODIFY ("AMT_RAGE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSR" MODIFY ("AMT_INS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSR" ON "EINSR" ("CLS_INS" , "DAT_INSB"
, "RAG_INS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSR" ADD CONSTRAINT "PK_EINSR" PRIMARY KEY
REM ("CLS_INS", "DAT_INSB", "RAG_INS") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSW" ("DAT_INS" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "TYP_INS" VARCHAR2(2),
REM "RSN_INS" VARCHAR2(2), "RAG_INS" VARCHAR2(2), "AMT_INS" NUMBER(11,
REM 3), "MNY_EMPL" NUMBER(11, 3), "MNY_COMP" NUMBER(11, 3), "MNY_GRAT"
REM NUMBER(11, 3), "COD_GRAT" VARCHAR2(2), "DAT_RTN" VARCHAR2(8),
REM "RSN_RTN" VARCHAR2(2), "DAT_TRN" VARCHAR2(8), "STS_INSW" VARCHAR2(2),
REM "DAT_ACT" VARCHAR2(8), "COD_ACT" VARCHAR2(1), "MNY_FUND" NUMBER(11,
REM 3), "MNY_WORK" NUMBER(11, 3), "INS_AREA" VARCHAR2(2), "NUM_CNTL"
REM VARCHAR2(16), "EMPL_MNYW" NUMBER(11, 3), "EMPL_MNYE" NUMBER(11, 3),
REM "COMP_MNYW" NUMBER(11, 3), "COMP_MNYE" NUMBER(11, 3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("MNY_GRAT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("MNY_FUND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("MNY_WORK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("EMPL_MNYW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("EMPL_MNYE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("COMP_MNYW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSW" MODIFY ("COMP_MNYE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSW" ON "EINSW" ("DAT_INS" , "COD_EMP"
, "DAT_ACT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSW" ADD CONSTRAINT "PK_EINSW" PRIMARY KEY
REM ("DAT_INS", "COD_EMP", "DAT_ACT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EINSWH" ("COD_EMP" VARCHAR2(8) NOT NULL
REM ENABLE, "DAT_TRN" VARCHAR2(8) NOT NULL ENABLE, "RSN_INS" VARCHAR2(2),
REM "RAG_INS" VARCHAR2(2), "AMT_INS" NUMBER(11, 3), "MNY_EMPL" NUMBER(11,
REM 3), "MNY_COMP" NUMBER(11, 3), "MNY_GRAT" NUMBER(11, 3), "COD_GRAT"
REM VARCHAR2(2), "DAT_ACT" VARCHAR2(8), "MNY_FUND" NUMBER(11, 3),
REM "MNY_WORK" NUMBER(11, 3), "INS_AREA" VARCHAR2(2), "EMPL_MNYW"
REM NUMBER(11, 3), "EMPL_MNYE" NUMBER(11, 3), "COMP_MNYW" NUMBER(11, 3),
REM "COMP_MNYE" NUMBER(11, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("MNY_EMPL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("MNY_GRAT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("MNY_FUND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("MNY_WORK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("EMPL_MNYW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("EMPL_MNYE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("COMP_MNYW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EINSWH" MODIFY ("COMP_MNYE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EINSWH" ON "EINSWH" ("COD_EMP" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EINSWH" ADD CONSTRAINT "PK_EINSWH" PRIMARY KEY
REM ("COD_EMP", "DAT_TRN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EIOXF" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "DAT_WKSH" VARCHAR2(8) NOT NULL ENABLE, "DAT_TIME" VARCHAR2(16) NOT
REM NULL ENABLE, "CLS_WRK" VARCHAR2(2), "CLS_IO" VARCHAR2(3), "TIM_CARD"
REM VARCHAR2(6), "DAT_UPDT" VARCHAR2(8), "STS_IOXF" VARCHAR2(2),
REM "DSC_ERR" VARCHAR2(40), "NUM_XFER" VARCHAR2(12), "COD_CAR"
REM VARCHAR2(12), "DAT_TIMEA" VARCHAR2(16), "DAT_WKSHA" VARCHAR2(8),
REM "DSC_WRK" VARCHAR2(20)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."EIOXF" ON "EIOXF" ("COD_CAR" , "DAT_WKSH" ,
"DAT_TIME" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EIOXF" ADD CONSTRAINT "EIOXF" PRIMARY KEY
REM ("COD_CAR", "DAT_WKSH", "DAT_TIME") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELATE" ("COD_SALY" VARCHAR2(2) NOT NULL
REM ENABLE, "TYP_EMP" VARCHAR2(2) NOT NULL ENABLE, "COD_POS" VARCHAR2(2)
REM NOT NULL ENABLE, "MNY_SALY" NUMBER(10, 3), "SEC_LATE" NUMBER(4, 0),
REM "MNY_LATE" NUMBER(10, 3), "PAY_SALY" VARCHAR2(2) NOT NULL ENABLE,
REM "TIM_SEC" NUMBER(4, 0), "SUM_DLY" NUMBER(4, 0), "CNT_DLY" NUMBER(4,
REM 0), "RATE_SALY" NUMBER(6, 2)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("SEC_LATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("MNY_LATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("TIM_SEC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("SUM_DLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("CNT_DLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELATE" MODIFY ("RATE_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELATE" ON "ELATE" ("TYP_EMP" , "COD_POS"
, "COD_SALY" , "PAY_SALY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ELATE" ADD CONSTRAINT "PK_ELATE" PRIMARY KEY
REM ("TYP_EMP", "COD_POS", "COD_SALY", "PAY_SALY") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELCNOC" ("NUM_NLC" VARCHAR2(18) NOT NULL
REM ENABLE, "LIN_CLC" VARCHAR2(3) NOT NULL ENABLE, "COD_CLC" VARCHAR2(2),
REM "DLA_CLC" VARCHAR2(3), "VAL_CLC" NUMBER(9, 4), "MNY_CLC" NUMBER(17,
REM 4), "MNY_CLCNT" NUMBER(17, 4), "REMARK" VARCHAR2(200), "NUM_MNYR"
REM VARCHAR2(12), "CLS_PAYM" VARCHAR2(2), "COD_ACC" VARCHAR2(10),
REM "NUM_PROD" VARCHAR2(12), "STS_ACIO" VARCHAR2(1), "COD_SBANK"
REM VARCHAR2(3), "COD_SBRAN" VARCHAR2(10), "ACNO" VARCHAR2(24)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELCNOC" MODIFY ("VAL_CLC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ELCNOC" MODIFY ("MNY_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOC" MODIFY ("MNY_CLCNT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELCNOC" ON "ELCNOC" ("NUM_NLC" ,
"LIN_CLC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ELCNOC" ADD CONSTRAINT "PK_ELCNOC" PRIMARY KEY
REM ("NUM_NLC", "LIN_CLC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELCNOD" ("LC_NO" VARCHAR2(30) NOT NULL ENABLE,
REM "LIN_LCNO" VARCHAR2(3) NOT NULL ENABLE, "COD_CUST" VARCHAR2(10),
REM "NUM_PO" VARCHAR2(16), "AMT_PO" NUMBER(17, 4), "AMT_GIV" NUMBER(17,
REM 4), "AMT_CLC" NUMBER(17, 4), "AMT_CLCNT" NUMBER(17, 4), "LIN_PO"
REM VARCHAR2(3), "AMT_GIVNT" NUMBER(17, 4), "DAT_CLC" VARCHAR2(8),
REM "TAX_TYPE" VARCHAR2(2), "QTY_REQ" NUMBER(11, 3), "MNY_UNIT"
REM NUMBER(14, 5), "COD_ITEM" VARCHAR2(20), "COD_UNIT" VARCHAR2(3),
REM "AMT_FROMPO" NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("AMT_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("AMT_GIV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("AMT_GIVNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("QTY_REQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOD" MODIFY ("AMT_FROMPO" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELCNOD" ON "ELCNOD" ("LC_NO" , "LIN_LCNO"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ELCNOD" ADD CONSTRAINT "PK_ELCNOD" PRIMARY KEY
REM ("LC_NO", "LIN_LCNO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELCNOM" ("LC_NO" VARCHAR2(30) NOT NULL ENABLE,
REM "DAT_APLY" VARCHAR2(8), "DAT_LCNO" VARCHAR2(8), "DAL_LCNO"
REM VARCHAR2(3), "TYP_TAK" VARCHAR2(1), "COD_CUST" VARCHAR2(10),
REM "COD_BANK" VARCHAR2(3), "COD_BRAN" VARCHAR2(10), "COD_FACT"
REM VARCHAR2(10), "COD_SBANK" VARCHAR2(3), "COD_SBRAN" VARCHAR2(10),
REM "ACNO" VARCHAR2(24), "COD_QUT" VARCHAR2(3), "LC_INS" VARCHAR2(1),
REM "COD_FROM" VARCHAR2(10), "COD_TO" VARCHAR2(10), "DAT_SHIP"
REM VARCHAR2(8), "TYP_SHIP" VARCHAR2(1), "RAT_LC" NUMBER(8, 4), "AMT_LC"
REM NUMBER(17, 4), "VAL_RLC" NUMBER(9, 4), "AMT_LCNT" NUMBER(17, 4),
REM "DAT_CLC" VARCHAR2(8), "AMT_NLC" NUMBER(17, 4), "AMT_NLCNT"
REM NUMBER(17, 4), "AMT_CLC" NUMBER(17, 4), "AMT_CLCNT" NUMBER(17, 4),
REM "STS_LCNO" VARCHAR2(2), "DAT_END" VARCHAR2(8), "REMARK"
REM VARCHAR2(250), "TYP_LC" VARCHAR2(2), "REMARK2" VARCHAR2(2000),
REM "DOC_CONM" VARCHAR2(20), "UID_ADD" VARCHAR2(8), "DTM_ADD"
REM VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("RAT_LC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("AMT_LC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("VAL_RLC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("AMT_LCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("AMT_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("AMT_NLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNOM" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_ELCNOM" ON "ELCNOM" ("COD_CUST" , "DAT_END" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELCNOM" ON "ELCNOM" ("LC_NO" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ELCNOM" ADD CONSTRAINT "PK_ELCNOM" PRIMARY KEY
REM ("LC_NO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELCNON" ("LC_NO" VARCHAR2(30) NOT NULL ENABLE,
REM "LIN_NLC" VARCHAR2(3) NOT NULL ENABLE, "NUM_NLC" VARCHAR2(18),
REM "DAT_NLC" VARCHAR2(8), "AMT_NLC" NUMBER(17, 4), "VAL_NLC" NUMBER(9,
REM 4), "AMT_NLCNT" NUMBER(17, 4), "NUM_GETB" VARCHAR2(14), "AMT_CLC"
REM NUMBER(17, 4), "AMT_CLCNT" NUMBER(17, 4), "LIN_LCNO" VARCHAR2(3),
REM "DAT_RCV" VARCHAR2(8), "TYP_NLC" VARCHAR2(2), "DAT_ENCASH"
REM VARCHAR2(8), "EMP_ENCASH" VARCHAR2(8), "STS_LCNON" VARCHAR2(2),
REM "AMT_CHG" NUMBER(17, 4), "AMT_CHGNT" NUMBER(17, 4), "NUM_PROD"
REM VARCHAR2(12), "NUM_MNYR" VARCHAR2(12), "NUM_DEL" VARCHAR2(12),
REM "LIN_DEL" VARCHAR2(3), "STS_ACIO" VARCHAR2(1), "COD_SBANK"
REM VARCHAR2(3), "COD_SBRAN" VARCHAR2(10), "ACNO" VARCHAR2(24),
REM "COD_ACCI" VARCHAR2(10), "NUM_PRODI" VARCHAR2(12), "UID_ADD"
REM VARCHAR2(8), "DTM_ADD" VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("AMT_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("VAL_NLC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("AMT_NLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("AMT_CHG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELCNON" MODIFY ("AMT_CHGNT" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_ELCNON" ON "ELCNON" ("LC_NO" , "LIN_LCNO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELCNON" ON "ELCNON" ("NUM_NLC" ,
"LIN_NLC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ELCNON" ADD CONSTRAINT "PK_ELCNON" PRIMARY KEY
REM ("NUM_NLC", "LIN_NLC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELEVB" ("LEV_POS" VARCHAR2(4) NOT NULL ENABLE,
REM "CNT_STAG" NUMBER(4, 0), "BEG_STAG" NUMBER(4, 0)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELEVB" MODIFY ("CNT_STAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELEVB" MODIFY ("BEG_STAG" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELEVB" ON "ELEVB" ("LEV_POS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ELEVB" ADD CONSTRAINT "PK_ELEVB" PRIMARY KEY
REM ("LEV_POS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ELVSG" ("LEV_POS" VARCHAR2(4) NOT NULL ENABLE,
REM "LEV_STAG" NUMBER(3, 0) NOT NULL ENABLE, "CNT_STAG" NUMBER(5, 0),
REM "MNY_SALY" NUMBER(10, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ELVSG" MODIFY ("CNT_STAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ELVSG" MODIFY ("MNY_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ELVSG" ON "ELVSG" ("LEV_POS" , "LEV_STAG"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ELVSG" ADD CONSTRAINT "PK_ELVSG" PRIMARY KEY
REM ("LEV_POS", "LEV_STAG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMAJM" ("COD_MAJ" VARCHAR2(5) NOT NULL ENABLE,
REM "NAM_MAJ" VARCHAR2(20), "CLS_MAJ" VARCHAR2(3), "MON_USF" NUMBER(3,
REM 0), "DSP_MAJ" VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EMAJM" MODIFY ("MON_USF" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EMAJM" ON "EMAJM" ("COD_MAJ" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EMAJM" ADD CONSTRAINT "PK_EMAJM" PRIMARY KEY
REM ("COD_MAJ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMISK" ("TIM_MISK" VARCHAR2(4) NOT NULL
REM ENABLE, "COD_SALY" VARCHAR2(2) NOT NULL ENABLE, "TYP_EMP" VARCHAR2(2)
REM NOT NULL ENABLE, "COD_POS" VARCHAR2(2) NOT NULL ENABLE, "TYP_ATTN"
REM VARCHAR2(3) NOT NULL ENABLE, "MNY_SALY" NUMBER(10, 3), "HUR_REST"
REM NUMBER(2, 0), "COD_WKTM" VARCHAR2(3) NOT NULL ENABLE) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EMISK" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EMISK" MODIFY ("HUR_REST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EMISK" MODIFY ("COD_WKTM" DEFAULT 'xxx' ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EMISK" ON "EMISK" ("TYP_ATTN" , "TYP_EMP"
, "COD_POS" , "TIM_MISK" , "COD_SALY" , "COD_WKTM" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EMISK" ADD CONSTRAINT "PK_EMISK" PRIMARY KEY
REM ("TYP_ATTN", "TYP_EMP", "COD_POS", "TIM_MISK", "COD_SALY",
REM "COD_WKTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMNYB" ("COD_MNYB" VARCHAR2(4) NOT NULL
REM ENABLE, "DSC_MNYB" VARCHAR2(20), "MNY_MNYB" NUMBER(7, 3), "REMARK"
REM VARCHAR2(40)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EMNYB" MODIFY ("MNY_MNYB" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EMNYB" ON "EMNYB" ("COD_MNYB" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EMNYB" ADD CONSTRAINT "PK_EMNYB" PRIMARY KEY
REM ("COD_MNYB") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMPLN" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "NUM_PS" VARCHAR2(12), "NUM_EPLN" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_EPLN" VARCHAR2(2) NOT NULL ENABLE, "MRK_EPLN" VARCHAR2(100),
REM "DSC_EPLN" VARCHAR2(2000), "RUN_EPLN" VARCHAR2(2000), "DAT_BEGP"
REM VARCHAR2(8), "DAT_ENDP" VARCHAR2(8), "HUR_PLN" NUMBER(8, 2),
REM "DAT_BEGA" VARCHAR2(8), "DAT_ENDA" VARCHAR2(8), "HUR_ACT" NUMBER(8,
REM 2), "STS_EPLN" VARCHAR2(2), "NUM_CNTL" VARCHAR2(16), "LEV_EPLN"
REM VARCHAR2(1), "REMARK" VARCHAR2(200), "NUM_ORD" VARCHAR2(16),
REM "ROT_ORD" VARCHAR2(2), "STR_PRT" VARCHAR2(12), "DOC_CONM"
REM VARCHAR2(20), "DAT_LAST" VARCHAR2(8), "CLS_EPLN" VARCHAR2(2),
REM "DSC_MANG" VARCHAR2(2000), "PS1" VARCHAR2(2000), "PS2"
REM VARCHAR2(2000), "PS3" VARCHAR2(2000), "PS4" VARCHAR2(2000), "PS5"
REM VARCHAR2(2000), "PS6" VARCHAR2(2000), "PS7" VARCHAR2(2000), "PS8"
REM VARCHAR2(2000), "PS9" VARCHAR2(2000), "PS10" VARCHAR2(2000), "PS11"
REM VARCHAR2(2000), "PS12" VARCHAR2(2000), "PS13" VARCHAR2(2000),
REM "DAT_MAILP" VARCHAR2(8), "DAT_MAILA" VARCHAR2(8), "COM_CST"
REM VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EMPLN" MODIFY ("HUR_PLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EMPLN" MODIFY ("HUR_ACT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EMPLN" ON "EMPLN" ("COD_EMP" , "NUM_EPLN"
, "LIN_EPLN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EMPLN" ADD CONSTRAINT "PK_EMPLN" PRIMARY KEY
REM ("COD_EMP", "NUM_EPLN", "LIN_EPLN") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMSCH" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "DAT_PLN" VARCHAR2(8) NOT NULL ENABLE, "LIN_PLN" VARCHAR2(2) NOT NULL
REM ENABLE, "TIM_BEGP" VARCHAR2(8), "TIM_ENGA" VARCHAR2(8), "HUR_PLN"
REM NUMBER(6, 2), "DSC_PLN" VARCHAR2(200), "TYP_SCH" VARCHAR2(2),
REM "TYP_TRAC" VARCHAR2(2), "TYP_TOOL" VARCHAR2(2), "TYP_DRS"
REM VARCHAR2(2), "COD_CUST" VARCHAR2(10), "NAM_CUST" VARCHAR2(40),
REM "NAM_ATTN" VARCHAR2(20), "TEL_ATTN" VARCHAR2(25), "REMARK"
REM VARCHAR2(100), "STS_SCH" VARCHAR2(2), "TIM_BEGA" VARCHAR2(8),
REM "TIM_ENDA" VARCHAR2(8), "HUR_ACT" NUMBER(6, 2), "NUM_PS"
REM VARCHAR2(12), "NUM_ORD" VARCHAR2(16), "ROT_ORD" VARCHAR2(2),
REM "COD_DEPT" VARCHAR2(8), "COD_STN" VARCHAR2(8), "STS_FIN" VARCHAR2(2),
REM "NUM_PSAL" VARCHAR2(12), "EMP_KEYIN" VARCHAR2(8), "EMP_PSAL"
REM VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "DAT_LAST" VARCHAR2(8),
REM "NUM_CNTL" VARCHAR2(16), "DAT_KEYIN" VARCHAR2(8), "NUM_CASE"
REM VARCHAR2(16), "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8),
REM "NUM_ONCA" VARCHAR2(12), "NUM_MTRM" VARCHAR2(12), "EMP_2ONCA"
REM VARCHAR2(8), "DAT_2ONCA" VARCHAR2(8), "CLS_TRN" VARCHAR2(2),
REM "CNT_PSAL" NUMBER(3, 0), "NUM_ESCH" VARCHAR2(12), "DTM_INSERT"
REM VARCHAR2(16), "DTM_CONF" VARCHAR2(16), "WEB_LINE" VARCHAR2(2),
REM "PS_N1" NUMBER(12, 2), "PS_N2" NUMBER(12, 2)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EMSCH" MODIFY ("HUR_PLN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EMSCH" MODIFY ("DTM_INSERT" DEFAULT
REM TO_CHAR(SYSDATE,'YYYYMMDD HH24MISS' )) ;
REM ALTER TABLE "MFTEST"."EMSCH" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EMSCH" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EMSCH" ON "EMSCH" ("COD_EMP" , "DAT_PLN"
, "LIN_PLN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_EMSCH" ON "EMSCH" ("NUM_CASE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX2_EMSCH" ON "EMSCH" ("NUM_ESCH" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_EMSCH" ON "EMSCH" ("COD_CUST" , "DAT_PLN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EMSCH" ADD CONSTRAINT "PK_EMSCH" PRIMARY KEY
REM ("COD_EMP", "DAT_PLN", "LIN_PLN") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMSTK" ("YEAR_STK" VARCHAR2(4) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "FRE_STK" NUMBER(8,
REM 0), "BUY_STK" NUMBER(8, 0), "LIN_STK" VARCHAR2(2) NOT NULL ENABLE)
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EMSTK" MODIFY ("FRE_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EMSTK" MODIFY ("BUY_STK" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_EMSTK" ON "EMSTK" ("COD_EMP" , "YEAR_STK" ,
"LIN_STK" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EMSTK" ADD CONSTRAINT "PK_EMSTK" PRIMARY KEY
REM ("YEAR_STK", "COD_EMP", "LIN_STK") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EMTOC" ("COD_MAJ" VARCHAR2(5) NOT NULL ENABLE,
REM "COD_CLAS" VARCHAR2(12) NOT NULL ENABLE) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EMTOC" ON "EMTOC" ("COD_MAJ" , "COD_CLAS"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EMTOC" ADD CONSTRAINT "PK_EMTOC" PRIMARY KEY
REM ("COD_MAJ", "COD_CLAS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EOVHR" ("DAT_OVHR" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "COD_OVHR"
REM VARCHAR2(2), "TYP_OVHR" VARCHAR2(3), "NUM_ENG" VARCHAR2(12),
REM "COD_MACH" VARCHAR2(8), "COD_EAT" VARCHAR2(1), "COD_IO" VARCHAR2(1),
REM "BEG_TIM" VARCHAR2(4), "END_TIM" VARCHAR2(4), "HRS_OVHR" NUMBER(5,
REM 1), "HRS_PAYM" NUMBER(5, 1), "REMARK" VARCHAR2(400), "EMP_KEYIN"
REM VARCHAR2(8), "EMP_SING" VARCHAR2(8), "STS_OVHR" VARCHAR2(2),
REM "LIN_EMP" VARCHAR2(2), "COD_POS" VARCHAR2(2), "TYP_EMP" VARCHAR2(2),
REM "COD_REST" VARCHAR2(1), "HUR_REST" NUMBER(5, 1), "DAY_REST" NUMBER(5,
REM 2), "NUM_OVHR" VARCHAR2(10), "COD_WKTM" VARCHAR2(3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("HRS_OVHR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("HRS_PAYM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("LIN_EMP" DEFAULT '01') ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("COD_REST" DEFAULT 'N') ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("HUR_REST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("DAY_REST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EOVHR" MODIFY ("COD_WKTM" DEFAULT 'xxx') ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_OVHR" ON "EOVHR" ("NUM_OVHR" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_EOVHR" ON "EOVHR" ("DAT_OVHR" , "COD_EMP"
, "LIN_EMP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EOVHR" ADD CONSTRAINT "PK_EOVHR" PRIMARY KEY
REM ("DAT_OVHR", "COD_EMP", "LIN_EMP") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EOVRT" ("COD_POS" VARCHAR2(2) NOT NULL ENABLE,
REM "CNT_HURB" NUMBER(4, 1) NOT NULL ENABLE, "CNT_HURE" NUMBER(4, 1) NOT
REM NULL ENABLE, "OV_RATE" NUMBER(6, 2)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EOVRT" MODIFY ("OV_RATE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EOVRT" ON "EOVRT" ("COD_POS" , "CNT_HURB"
, "CNT_HURE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EOVRT" ADD CONSTRAINT "PK_EOVRT" PRIMARY KEY
REM ("COD_POS", "CNT_HURB", "CNT_HURE") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EPOSS" ("COD_POS" VARCHAR2(3) NOT NULL ENABLE,
REM "COD_SPEC" VARCHAR2(5) NOT NULL ENABLE, "REMARK" VARCHAR2(40),
REM "LEV_POS" VARCHAR2(4) NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM CREATE TABLE "MFTEST"."EPRES" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "SER_SALY" VARCHAR2(2) NOT NULL ENABLE, "PRE_SALY" VARCHAR2(2),
REM "COD_SALY" VARCHAR2(2), "MON_PREB" VARCHAR2(6), "MON_PREE"
REM VARCHAR2(6), "PER_PRES" NUMBER(6, 2), "MNY_PRES" NUMBER(10, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EPRES" MODIFY ("PER_PRES" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EPRES" MODIFY ("MNY_PRES" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_EPRES" ON "EPRES" ("COD_EMP" , "SER_SALY"
, "PRE_SALY" , "COD_SALY" , "MON_PREB" ) PCTFREE 10 INITRANS 2 MAXTRANS
255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EPRES" ADD CONSTRAINT "PK_EPRES" PRIMARY KEY
REM ("COD_EMP", "SER_SALY", "PRE_SALY", "COD_SALY", "MON_PREB") USING
REM INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EPRET" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "LIN_PRET" VARCHAR2(2) NOT NULL ENABLE, "NAM_CO" VARCHAR2(30),
REM "COD_DEPT" VARCHAR2(40), "COD_POS" VARCHAR2(20), "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8), "OFF_RESN" VARCHAR2(2), "COD_CO"
REM VARCHAR2(8), "DAT_TRN" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EPRET" ON "EPRET" ("COD_EMP" , "LIN_PRET"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EPRET" ADD CONSTRAINT "PK_EPRET" PRIMARY KEY
REM ("COD_EMP", "LIN_PRET") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ERCVD" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_ERCV" VARCHAR2(12) NOT NULL ENABLE, "LIN_ERCV"
REM VARCHAR2(3) NOT NULL ENABLE, "COD_ITEMF" VARCHAR2(25), "COD_ITEM"
REM VARCHAR2(20), "UNT_BUY" VARCHAR2(3), "QTY_BUY" NUMBER(11, 3),
REM "CLS_GET" VARCHAR2(1), "NUM_BUY" VARCHAR2(12), "LIN_BUY" VARCHAR2(3),
REM "QTY_RCV" NUMBER(11, 3), "QTY_ROK" NUMBER(11, 3), "QTY_BAD"
REM NUMBER(11, 3), "QTY_OVER" NUMBER(11, 3), "EMP_SIGN" VARCHAR2(8),
REM "EMP_QC" VARCHAR2(8), "STS_LINE" VARCHAR2(2), "MNY_CSUS" NUMBER(15,
REM 5), "MNY_CSTU" NUMBER(15, 5), "STS_LIST" VARCHAR2(1), "NUM_QC"
REM NUMBER(2, 0), "NUM_LIST" NUMBER(2, 0), "NUM_TCKET" VARCHAR2(25),
REM "DAT_TCKET" VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "XF_ACC"
REM VARCHAR2(1), "AMT_CPAY" NUMBER(12, 4), "AMT_APAY" NUMBER(12, 4),
REM "QTY_APAY" NUMBER(11, 3), "DAT_QC" VARCHAR2(8), "TYP_INVM"
REM VARCHAR2(2), "UNT_BUYO" VARCHAR2(3), "QTY_BUYO" NUMBER(14, 6),
REM "TIM_RCVD" VARCHAR2(4), "REMARK" VARCHAR2(500), "QTY_CARM" NUMBER(11,
REM 3), "COD_ADDR" VARCHAR2(8), "ADR_DEL" VARCHAR2(200), "NUM_CASE"
REM VARCHAR2(16), "DAT_ETD" VARCHAR2(8), "DAT_ETA" VARCHAR2(8), "PS1"
REM VARCHAR2(10), "LC_NO" VARCHAR2(30), "AMT_INVM" NUMBER(17, 4),
REM "AMT_TAXV" NUMBER(17, 4), "AMT_TOTV" NUMBER(17, 4), "PS_XML1"
REM VARCHAR2(200), "PS_XML2" VARCHAR2(200), "PS_XML3" VARCHAR2(200),
REM "PS_XML4" VARCHAR2(200), "QTY_BUYP" NUMBER(11, 3), "UNT_BUYP"
REM VARCHAR2(3), "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_ROK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_BAD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_OVER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("MNY_CSUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("MNY_CSTU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("NUM_QC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("NUM_LIST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("XF_ACC" DEFAULT 'N') ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("AMT_CPAY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("AMT_APAY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_APAY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_BUYO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_CARM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("AMT_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("AMT_TAXV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("AMT_TOTV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERCVD" MODIFY ("QTY_BUYP" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX_ERCVD1" ON "ERCVD" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ERCVD" ON "ERCVD" ("COD_FACT" ,
"NUM_ERCV" , "LIN_ERCV" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_ERCVD" ON "ERCVD" ("CLS_GET" , "NUM_BUY" ,
"LIN_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ERCVD" ADD CONSTRAINT "PK_ERCVD" PRIMARY KEY
REM ("COD_FACT", "NUM_ERCV", "LIN_ERCV") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ERCVM" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_ERCV" VARCHAR2(12) NOT NULL ENABLE, "DAT_ARR"
REM VARCHAR2(8), "NUM_ACCP" VARCHAR2(12), "EMP_KEYIN" VARCHAR2(8),
REM "STS_ERCV" VARCHAR2(2), "VAL_RATE" NUMBER(9, 4), "DAT_SEND"
REM VARCHAR2(8), "COD_XFER" VARCHAR2(2), "TYP_RCVM" VARCHAR2(2), "REMARK"
REM VARCHAR2(2000), "DAT_SHIP" VARCHAR2(8), "DPT_CTL" VARCHAR2(8),
REM "TYP_ERCV" VARCHAR2(2), "RSN_RTNM" VARCHAR2(2), "NUM_PS"
REM VARCHAR2(12), "NUM_OLD" VARCHAR2(16), "LIN_OLD" VARCHAR2(3),
REM "DTM_KEYIN" VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ERCVM" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ERCVM" MODIFY ("TYP_ERCV" DEFAULT '10' ) ;
CREATE UNIQUE INDEX "MFTEST"."IND1_ERCVM" ON "ERCVM" ("NUM_ACCP" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ERCVM" ON "ERCVM" ("COD_FACT" ,
"NUM_ERCV" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ERCVM" ADD CONSTRAINT "PK_ERCVM" PRIMARY KEY
REM ("COD_FACT", "NUM_ERCV") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EREST" ("COD_REST" VARCHAR2(3) NOT NULL
REM ENABLE, "NAM_REST" VARCHAR2(20), "UNT_REST" VARCHAR2(2), "DSC_REST"
REM VARCHAR2(200), "DAYS_REST" NUMBER(6, 2), "RST_SALY" VARCHAR2(2),
REM "RST_FULL" VARCHAR2(1), "PS_DOC" VARCHAR2(60), "REMARK"
REM VARCHAR2(2000), "RST_NEXT" VARCHAR2(1)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EREST" MODIFY ("DAYS_REST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EREST" MODIFY ("RST_NEXT" DEFAULT 'N') ;
CREATE UNIQUE INDEX "MFTEST"."PK_EREST" ON "EREST" ("COD_REST" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EREST" ADD CONSTRAINT "PK_EREST" PRIMARY KEY
REM ("COD_REST") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ERETIR" ("DAT_INS" VARCHAR2(8) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "DAT_ACTB"
REM VARCHAR2(8), "DAT_ACTE" VARCHAR2(8), "RAG_INS" VARCHAR2(2), "AMT_INS"
REM NUMBER(11, 3), "PROC_TYPE" VARCHAR2(1), "RAT_COMP" NUMBER(6, 2),
REM "RAT_EMP" NUMBER(6, 2), "LPA_USE" VARCHAR2(1), "REMARK" VARCHAR2(60),
REM "DAT_CONF" VARCHAR2(8), "EMP_CONF" VARCHAR2(8), "DAT_TRN"
REM VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "DAT_CLOSE" VARCHAR2(8),
REM "EMP_CLOSE" VARCHAR2(8), "STS_INSR" VARCHAR2(2), "NUM_CNTL"
REM VARCHAR2(16), "DAT_KEYIN" VARCHAR2(8), "EMP_KEYIN" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ERETIR" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERETIR" MODIFY ("RAT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERETIR" MODIFY ("RAT_EMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ERETIR" ON "ERETIR" ("DAT_INS" ,
"COD_EMP" , "DAT_ACTB" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ERETIR" ADD CONSTRAINT "PK_ERETIR" PRIMARY KEY
REM ("DAT_INS", "COD_EMP", "DAT_ACTB") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ERETM" ("MON_RETM" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "AMT_INS" NUMBER(11,
REM 3), "RAT_COMP" NUMBER(6, 2), "MNY_COMP" NUMBER(11, 3), "RAT_EMP"
REM NUMBER(6, 2), "MNY_EMP" NUMBER(11, 3), "DAT_BRT" VARCHAR2(8),
REM "EMP_BRT" VARCHAR2(8), "DAT_ADJ" VARCHAR2(8), "EMP_ADJ" VARCHAR2(8),
REM "STS_RETM" VARCHAR2(2), "REMARK" VARCHAR2(60), "SER_RETM" VARCHAR2(2)
REM NOT NULL ENABLE, "DAT_CONF" VARCHAR2(8), "EMP_CONF" VARCHAR2(8),
REM "DAT_CONE" VARCHAR2(8), "EMP_CONE" VARCHAR2(8), "DAT_PAY"
REM VARCHAR2(8), "EMP_PAY" VARCHAR2(8), "DAT_SALY" VARCHAR2(8),
REM "EMP_SALY" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ERETM" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERETM" MODIFY ("RAT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERETM" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERETM" MODIFY ("RAT_EMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERETM" MODIFY ("MNY_EMP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ERETM" ON "ERETM" ("MON_RETM" ,
"SER_RETM" , "COD_EMP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ERETM" ADD CONSTRAINT "PK_ERETM" PRIMARY KEY
REM ("MON_RETM", "SER_RETM", "COD_EMP") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ERRMSG" ("PK_SEQNO" NUMBER(13, 0) NOT NULL
REM ENABLE, "COD_EMPIN" VARCHAR2(8) NOT NULL ENABLE, "COD_PRO"
REM VARCHAR2(20) NOT NULL ENABLE, "NUM_SEQ" NUMBER(9, 0) NOT NULL ENABLE,
REM "COD_PK1" VARCHAR2(100), "COD_PK2" VARCHAR2(100), "COD_PK3"
REM VARCHAR2(100), "COD_MSG" NUMBER(14, 3), "MSG_ERR" VARCHAR2(2000),
REM "NUM_RBAT" VARCHAR2(16), "DSC_LEV" VARCHAR2(100), "DSC_CHK"
REM VARCHAR2(100), "LEV_MSG" VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ERRMSG" MODIFY ("COD_MSG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERRMSG" MODIFY ("LEV_MSG" DEFAULT '0' ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ERRMSG" ON "ERRMSG" ("PK_SEQNO" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ERRMSG" ON "ERRMSG" ("COD_EMPIN" , "COD_PRO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 196608 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ERRMSG" ADD CONSTRAINT "PK_ERRMSG" PRIMARY KEY
REM ("PK_SEQNO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ERSTM" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "YEAR_MN" VARCHAR2(6) NOT NULL ENABLE, "COD_REST" VARCHAR2(3) NOT
REM NULL ENABLE, "DSC_REST" VARCHAR2(20), "UNT_REST" VARCHAR2(2),
REM "SUM_ETRA" NUMBER(6, 2), "DAY_ETRA" NUMBER(6, 4), "SER_SALY"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ERSTM" MODIFY ("SUM_ETRA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ERSTM" MODIFY ("DAY_ETRA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ERSTM" ON "ERSTM" ("COD_EMP" , "YEAR_MN"
, "SER_SALY" , "COD_REST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ERSTM" ADD CONSTRAINT "PK_ERSTM" PRIMARY KEY
REM ("COD_EMP", "YEAR_MN", "SER_SALY", "COD_REST") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALB" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_SALY" VARCHAR2(2) NOT NULL ENABLE, "MNY_SALY" NUMBER(10, 3),
REM "CLS_SALY" NUMBER(1, 0), "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALB" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALB" MODIFY ("CLS_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALB" ON "ESALB" ("COD_EMP" , "COD_SALY"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALB" ADD CONSTRAINT "PK_ESALB" PRIMARY KEY
REM ("COD_EMP", "COD_SALY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALC" ("NUM_SALC" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_SALC" VARCHAR2(2) NOT NULL ENABLE, "COD_EMP"
REM VARCHAR2(5), "COD_SALY" VARCHAR2(2), "MNY_OLD" NUMBER(7, 0),
REM "MNY_NEW" NUMBER(7, 0), "CLS_SALY" NUMBER(1, 0), "TRN_SALC"
REM VARCHAR2(2), "DSC_SALC" VARCHAR2(40), "COD_KEYIN" VARCHAR2(5),
REM "DAT_KEYIN" VARCHAR2(8), "COD_CONF" VARCHAR2(5), "DAT_CONF"
REM VARCHAR2(8), "STS_SALC" VARCHAR2(2), "DAT_BEG" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALC" MODIFY ("MNY_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALC" MODIFY ("MNY_NEW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALC" MODIFY ("CLS_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALC" ON "ESALC" ("NUM_SALC" ,
"LIN_SALC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ESALC" ADD CONSTRAINT "PK_ESALC" PRIMARY KEY
REM ("NUM_SALC", "LIN_SALC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALCD" ("NUM_SALC" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "LIN_SALC" VARCHAR2(2)
REM NOT NULL ENABLE, "COD_SALY" VARCHAR2(2), "MNY_OLD" NUMBER(10, 3),
REM "MNY_NEW" NUMBER(10, 3), "CLS_SALY" NUMBER(1, 0), "TRN_SALC"
REM VARCHAR2(2), "COD_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8),
REM "STS_SALC" VARCHAR2(2), "DAT_BEG" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALCD" MODIFY ("MNY_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALCD" MODIFY ("MNY_NEW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALCD" MODIFY ("CLS_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALCD" ON "ESALCD" ("NUM_SALC" ,
"COD_EMP" , "LIN_SALC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALCD" ADD CONSTRAINT "PK_ESALCD" PRIMARY KEY
REM ("NUM_SALC", "COD_EMP", "LIN_SALC") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALCM" ("NUM_SALC" VARCHAR2(12) NOT NULL
REM ENABLE, "DSC_SALC" VARCHAR2(40), "COD_KEYIN" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALCM" ON "ESALCM" ("NUM_SALC" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALCM" ADD CONSTRAINT "PK_ESALCM" PRIMARY KEY
REM ("NUM_SALC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALD" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "DAT_SALD" VARCHAR2(8) NOT NULL ENABLE, "LIN_SALD" NUMBER(4, 0) NOT
REM NULL ENABLE, "TYP_ATTN" VARCHAR2(3), "HUR_ATTN" NUMBER(6, 2),
REM "COD_SALY" VARCHAR2(2), "MNY_SALY" NUMBER(9, 2), "REMARK"
REM VARCHAR2(60), "STS_SALD" VARCHAR2(2), "MON_SALD" VARCHAR2(6)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALD" MODIFY ("HUR_ATTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALD" MODIFY ("MNY_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALD" ON "ESALD" ("COD_EMP" , "DAT_SALD"
, "LIN_SALD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ESALD" ADD CONSTRAINT "PK_ESALD" PRIMARY KEY
REM ("COD_EMP", "DAT_SALD", "LIN_SALD") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALID" ("MON_SALI" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "LIN_SALID"
REM VARCHAR2(2) NOT NULL ENABLE, "NAM_FAM" VARCHAR2(10), "TYP_SALE"
REM VARCHAR2(1), "TYP_SALI" VARCHAR2(1) NOT NULL ENABLE, "MNY_SALIE"
REM NUMBER(10, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALID" MODIFY ("MNY_SALIE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALID" ON "ESALID" ("MON_SALI" ,
"COD_EMP" , "LIN_SALID" , "TYP_SALI" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALID" ADD CONSTRAINT "PK_ESALID" PRIMARY KEY
REM ("MON_SALI", "COD_EMP", "LIN_SALID", "TYP_SALI") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALIM" ("MON_SALI" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "TYP_SALI" VARCHAR2(1)
REM NOT NULL ENABLE, "MNY_INSE" NUMBER(10, 3), "MNY_INSC" NUMBER(10, 3),
REM "MNY_INSG" NUMBER(10, 3), "CNT_FAML" NUMBER(2, 0), "MNY_FUND"
REM NUMBER(11, 3), "MNY_WORK" NUMBER(11, 3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALIM" MODIFY ("MNY_INSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALIM" MODIFY ("MNY_INSC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALIM" MODIFY ("MNY_INSG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALIM" MODIFY ("CNT_FAML" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALIM" MODIFY ("MNY_FUND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALIM" MODIFY ("MNY_WORK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALIM" ON "ESALIM" ("MON_SALI" ,
"COD_EMP" , "TYP_SALI" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALIM" ADD CONSTRAINT "PK_ESALIM" PRIMARY KEY
REM ("MON_SALI", "COD_EMP", "TYP_SALI") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALM" ("MON_SALY" VARCHAR2(6) NOT NULL
REM ENABLE, "SER_SALY" VARCHAR2(2) NOT NULL ENABLE, "COD_EMP" VARCHAR2(8)
REM NOT NULL ENABLE, "COD_SALY" VARCHAR2(2) NOT NULL ENABLE, "MNY_SALY"
REM NUMBER(10, 3), "CLS_SALY" NUMBER(1, 0), "ADJ_SALY" VARCHAR2(2),
REM "DAT_ADJ" VARCHAR2(8), "EMP_ADJ" VARCHAR2(8), "STS_SALY" VARCHAR2(2),
REM "REMARK" VARCHAR2(60), "MNY_FIX" NUMBER(10, 3), "MNY_PLUS" NUMBER(10,
REM 3), "MNY_MINS" NUMBER(10, 3), "DAT_BEG" VARCHAR2(8), "DAT_END"
REM VARCHAR2(8), "COD_DEPT" VARCHAR2(8), "COD_STN" VARCHAR2(8), "COD_POS"
REM VARCHAR2(2), "COD_WORK" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALM" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALM" MODIFY ("CLS_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALM" MODIFY ("MNY_FIX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALM" MODIFY ("MNY_PLUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALM" MODIFY ("MNY_MINS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALM" ON "ESALM" ("MON_SALY" ,
"SER_SALY" , "COD_EMP" , "COD_SALY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALM" ADD CONSTRAINT "PK_ESALM" PRIMARY KEY
REM ("MON_SALY", "SER_SALY", "COD_EMP", "COD_SALY") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALT" ("MON_SALY" VARCHAR2(6) NOT NULL
REM ENABLE, "SER_SALY" VARCHAR2(2) NOT NULL ENABLE, "COD_EMP" VARCHAR2(8)
REM NOT NULL ENABLE, "COD_SALY" VARCHAR2(2) NOT NULL ENABLE, "MNY_SALY"
REM NUMBER(10, 3), "MNY_TAX" NUMBER(10, 3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALT" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESALT" MODIFY ("MNY_TAX" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALT" ON "ESALT" ("MON_SALY" ,
"SER_SALY" , "COD_EMP" , "COD_SALY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALT" ADD CONSTRAINT "PK_ESALT" PRIMARY KEY
REM ("MON_SALY", "SER_SALY", "COD_EMP", "COD_SALY") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALX" ("MON_SALY" VARCHAR2(6) NOT NULL
REM ENABLE, "SER_SALY" VARCHAR2(2) NOT NULL ENABLE, "COD_EMP" VARCHAR2(8)
REM NOT NULL ENABLE, "SEQ_SALX" NUMBER(2, 0) NOT NULL ENABLE, "COM_BANK"
REM VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "COM_ACNO" VARCHAR2(24),
REM "EMP_BANK" VARCHAR2(3), "EMP_BRANCH" VARCHAR2(10), "EMP_ACNO"
REM VARCHAR2(24), "COD_SALY" VARCHAR2(2), "MNY_SALY" NUMBER(10, 3),
REM "STS_SALYX" VARCHAR2(2), "DAT_PROC" VARCHAR2(8), "EMP_PROC"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESALX" MODIFY ("MNY_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALX" ON "ESALX" ("MON_SALY" ,
"SER_SALY" , "COD_EMP" , "SEQ_SALX" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALX" ADD CONSTRAINT "PK_ESALX" PRIMARY KEY
REM ("MON_SALY", "SER_SALY", "COD_EMP", "SEQ_SALX") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESALY" ("COD_SALY" VARCHAR2(2) NOT NULL
REM ENABLE, "NAM_SALY" VARCHAR2(20), "COD_SATX" VARCHAR2(2), "COD_INSU"
REM VARCHAR2(1), "CAN_USER" VARCHAR2(1), "FLG_STT" VARCHAR2(10),
REM "COD_TAXE" VARCHAR2(2), "COD_TAXC" VARCHAR2(1), "COD_RETIR"
REM VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESALY" ON "ESALY" ("COD_SALY" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESALY" ADD CONSTRAINT "PK_ESALY" PRIMARY KEY
REM ("COD_SALY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESAMD" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "DAT_SALY" VARCHAR2(8) NOT NULL ENABLE, "LIN_SAMD" NUMBER(4, 0) NOT
REM NULL ENABLE, "CLS_SMAD" VARCHAR2(3), "COD_SALY" VARCHAR2(2),
REM "CLS_SALY" NUMBER(1, 0), "MNY_SALY" NUMBER(10, 3), "REMARK"
REM VARCHAR2(40), "STS_SAMD" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESAMD" MODIFY ("CLS_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ESAMD" MODIFY ("MNY_SALY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESAMD" ON "ESAMD" ("COD_EMP" , "DAT_SALY"
, "LIN_SAMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ESAMD" ADD CONSTRAINT "PK_ESAMD" PRIMARY KEY
REM ("COD_EMP", "DAT_SALY", "LIN_SAMD") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESAPR" ("YEAR_MN" VARCHAR2(6) NOT NULL ENABLE,
REM "TYP_EMP" VARCHAR2(2) NOT NULL ENABLE, "SER_SALY" VARCHAR2(2) NOT
REM NULL ENABLE, "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8), "COD_SALY"
REM VARCHAR2(2) NOT NULL ENABLE, "PRC_SALY" VARCHAR2(6)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESAPR" ON "ESAPR" ("YEAR_MN" , "TYP_EMP"
, "SER_SALY" , "COD_SALY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESAPR" ADD CONSTRAINT "PK_ESAPR" PRIMARY KEY
REM ("YEAR_MN", "TYP_EMP", "SER_SALY", "COD_SALY") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESPEC" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_SPEC" VARCHAR2(5) NOT NULL ENABLE, "CLS_SPEC" VARCHAR2(1),
REM "DAT_CHK" VARCHAR2(8), "DAT_UPDT" VARCHAR2(8), "DSP_SPEC"
REM VARCHAR2(80), "DAT_USEF" VARCHAR2(8), "CLS_MAJDOC" VARCHAR2(3),
REM "NUM_MAJDOC" VARCHAR2(30)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESPEC" ON "ESPEC" ("COD_EMP" , "COD_SPEC"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESPEC" ADD CONSTRAINT "PK_ESPEC" PRIMARY KEY
REM ("COD_EMP", "COD_SPEC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESTAG" ("BEG_STG" NUMBER(6, 0) NOT NULL
REM ENABLE, "END_STG" NUMBER(6, 0) NOT NULL ENABLE, "MNY_STG" NUMBER(8,
REM 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ESTAG" MODIFY ("MNY_STG" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESTAG" ON "ESTAG" ("BEG_STG" , "END_STG"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESTAG" ADD CONSTRAINT "PK_ESTAG" PRIMARY KEY
REM ("BEG_STG", "END_STG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ESTOP" ("NUM_STOP" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_APLY" VARCHAR2(8), "COD_EMP" VARCHAR2(8), "COD_EVENT"
REM VARCHAR2(3), "DAT_BEG" VARCHAR2(8), "TIM_BEG" VARCHAR2(4), "DAT_END"
REM VARCHAR2(8), "TIM_END" VARCHAR2(4), "DAY_STOP" NUMBER(6, 2),
REM "HUR_STOP" NUMBER(5, 1), "EMP_KEYIN" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "DAT_SING" VARCHAR2(8), "TIM_SING" VARCHAR2(4),
REM "EMP_SING" VARCHAR2(8), "STS_STOP" VARCHAR2(2), "REMARK"
REM VARCHAR2(100), "DAT_RTN" VARCHAR2(8), "DAT_ACT" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ESTOP" ON "ESTOP" ("NUM_STOP" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ESTOP" ADD CONSTRAINT "PK_ESTOP" PRIMARY KEY
REM ("NUM_STOP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETAXB" ("AMT_RAGB" NUMBER(11, 3) NOT NULL
REM ENABLE, "AMT_RAGE" NUMBER(11, 3) NOT NULL ENABLE, "CNT_CARE"
REM NUMBER(2, 0) NOT NULL ENABLE, "MNY_MNYB" NUMBER(8, 3) NOT NULL
REM ENABLE, "REMARK" VARCHAR2(40)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETAXB" MODIFY ("AMT_RAGB" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETAXB" MODIFY ("AMT_RAGE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETAXB" MODIFY ("MNY_MNYB" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETAXB" ON "ETAXB" ("AMT_RAGB" ,
"AMT_RAGE" , "CNT_CARE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETAXB" ADD CONSTRAINT "PK_ETAXB" PRIMARY KEY
REM ("AMT_RAGB", "AMT_RAGE", "CNT_CARE") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETAXE" ("COD_EMP" VARCHAR2(8), "NUM_ID"
REM VARCHAR2(20), "DAT_BTH" VARCHAR2(8), "NAM_EMP" VARCHAR2(30),
REM "NAM_EMPE" VARCHAR2(40), "COD_ID" VARCHAR2(1), "COD_ERR" VARCHAR2(1),
REM "ADD_P" VARCHAR2(60), "NUM_CNTL" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETAXE" ON "ETAXE" ("COD_EMP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETAXE" ADD CONSTRAINT "PK_ETAXE" PRIMARY KEY
REM ("COD_EMP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETAXI" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "MON_TAXI" VARCHAR2(6) NOT NULL ENABLE, "COD_TAXP" VARCHAR2(1),
REM "COD_TAXE" VARCHAR2(2) NOT NULL ENABLE, "MNY_ALL" NUMBER(13, 3),
REM "MNY_TAX" NUMBER(13, 3), "MNY_PAY" NUMBER(13, 3), "NUM_ID"
REM VARCHAR2(20), "COD_TAXC" VARCHAR2(1), "COD_TAXR" VARCHAR2(2),
REM "NUM_CNTL" VARCHAR2(16), "REMARK" VARCHAR2(400), "COD_DPT"
REM VARCHAR2(8), "COD_EMPF" VARCHAR2(8), "SN_TAX" VARCHAR2(20),
REM "NUM_CHGM" VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETAXI" MODIFY ("MNY_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETAXI" MODIFY ("MNY_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETAXI" MODIFY ("MNY_PAY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETAXI" ON "ETAXI" ("COD_EMP" , "MON_TAXI"
, "COD_TAXE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ETAXI" ADD CONSTRAINT "PK_ETAXI" PRIMARY KEY
REM ("COD_EMP", "MON_TAXI", "COD_TAXE") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETAXR" ("AMT_RAGB" NUMBER(10, 3) NOT NULL
REM ENABLE, "AMT_RAGE" NUMBER(10, 3) NOT NULL ENABLE, "TAX_RATE"
REM NUMBER(6, 2), "MNY_EXP" NUMBER(10, 3), "REMARK" VARCHAR2(40)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETAXR" MODIFY ("AMT_RAGB" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETAXR" MODIFY ("AMT_RAGE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETAXR" MODIFY ("TAX_RATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETAXR" MODIFY ("MNY_EXP" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETAXR" ON "ETAXR" ("AMT_RAGB" ,
"AMT_RAGE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ETAXR" ADD CONSTRAINT "PK_ETAXR" PRIMARY KEY
REM ("AMT_RAGB", "AMT_RAGE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETEA" ("NUM_TEA" VARCHAR2(10) NOT NULL ENABLE,
REM "LIN_TEA" VARCHAR2(3), "DAT_TEA" VARCHAR2(8), "EMP_TEA" VARCHAR2(8),
REM "COD_TEA" VARCHAR2(2), "COD_SALY" VARCHAR2(2), "AMT_SALY" NUMBER(10,
REM 3), "HUR_TEA" NUMBER(5, 2), "COD_EMP" VARCHAR2(8), "DAT_OLD"
REM VARCHAR2(8), "NUM_OLD" VARCHAR2(10), "LIN_OLD" VARCHAR2(2),
REM "EMP_SIGN" VARCHAR2(8), "DAT_SIGN" VARCHAR2(8), "STS_TEA"
REM VARCHAR2(2), "REMARK" VARCHAR2(80)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETEA" MODIFY ("AMT_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETEA" MODIFY ("HUR_TEA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETEA" ON "ETEA" ("NUM_TEA" , "LIN_TEA" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETEA" ADD CONSTRAINT "PK_ETEA" PRIMARY KEY
REM ("NUM_TEA", "LIN_TEA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETEAD" ("NUM_TEA" VARCHAR2(10) NOT NULL
REM ENABLE, "LIN_TEA" VARCHAR2(3), "DAT_TEA" VARCHAR2(8), "EMP_TEA"
REM VARCHAR2(8), "COD_TEA" VARCHAR2(2), "COD_SALY" VARCHAR2(2),
REM "AMT_SALY" NUMBER(10, 3), "HUR_TEA" NUMBER(5, 2), "COD_EMP"
REM VARCHAR2(8), "DAT_OLD" VARCHAR2(8), "NUM_OLD" VARCHAR2(10), "LIN_OLD"
REM VARCHAR2(2), "EMP_SIGN" VARCHAR2(8), "DAT_SIGN" VARCHAR2(8),
REM "STS_TEA" VARCHAR2(2), "REMARK" VARCHAR2(80)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETEAD" MODIFY ("AMT_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETEAD" MODIFY ("HUR_TEA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETEAD" ON "ETEAD" ("NUM_TEA" , "LIN_TEA"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETEAD" ADD CONSTRAINT "PK_ETEAD" PRIMARY KEY
REM ("NUM_TEA", "LIN_TEA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQF" ("NUM_ETQM" VARCHAR2(12) NOT NULL
REM ENABLE, "CLS_ETQM" VARCHAR2(4), "LEV_ETQM" VARCHAR2(4), "DAT_ETQM"
REM VARCHAR2(8), "EMP_ETQM" VARCHAR2(15), "TYP_ETQM" VARCHAR2(4),
REM "MIN_ETQM" NUMBER(4, 0), "SCO_ETQM" NUMBER(4, 0), "CNT_PRT" NUMBER(4,
REM 0), "ADJ_ETQM" VARCHAR2(2), "REMARK" VARCHAR2(200), "KEY_WORD"
REM VARCHAR2(400), "YN_QUTN" VARCHAR2(1), "COD_QUTN" VARCHAR2(20),
REM "DSC_GOAL" VARCHAR2(400), "RFF_ETQM" VARCHAR2(12), "EDM_CONT"
REM VARCHAR2(200), "EDM_HTML" VARCHAR2(200), "EDM_MTYPE" VARCHAR2(1),
REM "EDM_CFILE" VARCHAR2(200), "EDM_HTMLF" VARCHAR2(200), "PS1"
REM VARCHAR2(60), "COD_BINGO" VARCHAR2(10), "DAT_UPD" VARCHAR2(16),
REM "UID_UPD" VARCHAR2(8), "NUM_CASE" VARCHAR2(16), "EDM_ATTR"
REM VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETQF" MODIFY ("MIN_ETQM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETQF" MODIFY ("SCO_ETQM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQF" ON "ETQF" ("NUM_ETQM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQF" ADD CONSTRAINT "PK_ETQF" PRIMARY KEY
REM ("NUM_ETQM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQLD" ("NUM_QLM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_QLM" VARCHAR2(3) NOT NULL ENABLE, "NUM_QS" VARCHAR2(12),
REM "ANS_QLM" VARCHAR2(2000), "SCO_QLM" NUMBER(3, 0), "COD_QUTN"
REM VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQLD" ON "ETQLD" ("NUM_QLM" , "LIN_QLM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQLD" ADD CONSTRAINT "PK_ETQLD" PRIMARY KEY
REM ("NUM_QLM", "LIN_QLM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQLM" ("NUM_QLM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_QLM" VARCHAR2(8), "USER_ID" VARCHAR2(12), "USER_NM"
REM VARCHAR2(20), "COD_CUST" VARCHAR2(10), "NUM_ETQM" VARCHAR2(12),
REM "TIM_BEG" VARCHAR2(16), "TIM_END" VARCHAR2(16), "SCO_QLM" NUMBER(3,
REM 0), "DAT_CORT" VARCHAR2(8), "EMP_CORT" VARCHAR2(8), "STS_QLM"
REM VARCHAR2(2), "DAT_UPD" VARCHAR2(8), "EMP_UPD" VARCHAR2(8),
REM "NUM_RANDOM" VARCHAR2(2), "IS_BINGO" VARCHAR2(1), "DSC_RANDOM"
REM VARCHAR2(200), "SN_TRNM" VARCHAR2(12), "DTM_CANCEL" VARCHAR2(14),
REM "EMP_CANCEL" VARCHAR2(8), "DSC_CANCEL" VARCHAR2(200), "DAT_SMAIL"
REM VARCHAR2(14), "CNT_SMAIL" NUMBER(3, 0), "UID_SMAIL" VARCHAR2(8),
REM "DSC_CORT" VARCHAR2(100)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETQLM" MODIFY ("CNT_SMAIL" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_ETQLM" ON "ETQLM" ("NUM_ETQM" , "USER_ID" ,
"DAT_QLM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQLM" ON "ETQLM" ("NUM_QLM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQLM" ADD CONSTRAINT "PK_ETQLM" PRIMARY KEY
REM ("NUM_QLM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQM" ("NUM_ETQM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_ETQM" VARCHAR2(4) NOT NULL ENABLE, "CLS_ETQM"
REM VARCHAR2(4), "LEV_ETQM" VARCHAR2(4), "NUM_QS" VARCHAR2(12),
REM "DAT_ETQM" VARCHAR2(8), "EMP_ETQM" VARCHAR2(15), "SCO_SHAR" NUMBER(3,
REM 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETQM" MODIFY ("SCO_SHAR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQM" ON "ETQM" ("NUM_ETQM" , "LIN_ETQM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQM" ADD CONSTRAINT "PK_ETQM" PRIMARY KEY
REM ("NUM_ETQM", "LIN_ETQM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQP" ("NUM_ETQP" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_ETQM" VARCHAR2(12), "SN_TRNM" VARCHAR2(12), "USER_ID"
REM VARCHAR2(8), "USER_NM" VARCHAR2(20), "COD_CUST" VARCHAR2(10),
REM "DTM_BEG" VARCHAR2(12), "DTM_END" VARCHAR2(12), "CNT_MAIL" NUMBER(3,
REM 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETQP" MODIFY ("CNT_MAIL" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQP" ON "ETQP" ("NUM_ETQP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ETQP" ON "ETQP" ("NUM_ETQM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_ETQP" ON "ETQP" ("SN_TRNM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQP" ADD CONSTRAINT "PK_ETQP" PRIMARY KEY
REM ("NUM_ETQP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQS" ("COD_EXE" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_SYS" VARCHAR2(3) NOT NULL ENABLE, "SEQ_QS" VARCHAR2(4) NOT NULL
REM ENABLE, "LEV_QS" VARCHAR2(1), "DSC_QUS" VARCHAR2(600), "ANS_QUS"
REM VARCHAR2(2000), "NUM_DOCM1" VARCHAR2(20), "NUM_DOCM2" VARCHAR2(20),
REM "REMARK" VARCHAR2(200), "EMP_KEYIN" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "DAT_TRN" VARCHAR2(8), "TYP_LEV1"
REM VARCHAR2(4), "TYP_LEV2" VARCHAR2(4), "TYP_LEV3" VARCHAR2(4),
REM "TYP_LEV4" VARCHAR2(4), "TYP_LEV5" VARCHAR2(4), "BEL_TYP1"
REM VARCHAR2(1), "BEL_TYP2" VARCHAR2(1), "BEL_TYP3" VARCHAR2(1),
REM "BEL_TYP4" VARCHAR2(1), "BEL_TYP5" VARCHAR2(1), "BEL_TYP6"
REM VARCHAR2(1), "BEL_TYP7" VARCHAR2(1), "BEL_TYP8" VARCHAR2(1),
REM "BEL_TYP9" VARCHAR2(1), "BEL_TYP10" VARCHAR2(1), "TYP_ANS"
REM VARCHAR2(2), "SCO_SHAR" NUMBER(3, 0), "NUM_QS" VARCHAR2(12),
REM "NUM_CNTL" VARCHAR2(16), "KEY_WORD" VARCHAR2(2000), "CLS_TRN"
REM VARCHAR2(2), "NUM_TRN" VARCHAR2(12), "LIN_TRN" VARCHAR2(3),
REM "DSC_GOAL" VARCHAR2(400), "DSC_EFFE" VARCHAR2(400), "PS1"
REM VARCHAR2(20), "PS2" VARCHAR2(20), "PS3" VARCHAR2(20), "PS4"
REM VARCHAR2(20), "LEV_IMPT" VARCHAR2(2), "CODINT_LST" VARCHAR2(2000))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETQS" MODIFY ("SCO_SHAR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQS" ON "ETQS" ("COD_EXE" , "COD_SYS" ,
"SEQ_QS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_ETQS" ON "ETQS" ("NUM_QS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQS" ADD CONSTRAINT "PK_ETQS" PRIMARY KEY
REM ("COD_EXE", "COD_SYS", "SEQ_QS") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQSA" ("NUM_QS" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_QSA" NUMBER(3, 0) NOT NULL ENABLE, "SQL_QSA" VARCHAR2(2000),
REM "SQL_RSTB" NUMBER(17, 3), "SQL_RSTE" NUMBER(17, 3), "SCO_QSA"
REM NUMBER(3, 0), "REMARK" VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETQSA" MODIFY ("SQL_RSTB" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETQSA" MODIFY ("SQL_RSTE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETQSA" MODIFY ("SCO_QSA" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQSA" ON "ETQSA" ("NUM_QS" , "LIN_QSA" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQSA" ADD CONSTRAINT "PK_ETQSA" PRIMARY KEY
REM ("NUM_QS", "LIN_QSA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETQSC" ("NUM_QS" VARCHAR2(12) NOT NULL ENABLE,
REM "LIN_QS" NUMBER(2, 0) NOT NULL ENABLE, "DSC_QS" VARCHAR2(200),
REM "CAN_PS" VARCHAR2(1), "ANS_QS" VARCHAR2(1)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETQSC" ON "ETQSC" ("NUM_QS" , "LIN_QS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETQSC" ADD CONSTRAINT "PK_ETQSC" PRIMARY KEY
REM ("NUM_QS", "LIN_QS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRBK" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "CLS_TRBK" VARCHAR2(2) NOT NULL ENABLE, "COM_BANK" VARCHAR2(3),
REM "COM_ACNO" VARCHAR2(24), "EMP_BANK" VARCHAR2(3), "EMP_ACNO"
REM VARCHAR2(24), "DAT_BEG" VARCHAR2(8) NOT NULL ENABLE, "DAT_END"
REM VARCHAR2(8), "COD_BRANCH" VARCHAR2(10), "EMP_BRANCH" VARCHAR2(10),
REM "NUM_TRBK" VARCHAR2(12) NOT NULL ENABLE, "SER_SALY" VARCHAR2(3),
REM "COD_SALY" VARCHAR2(3), "MNY_SALY" NUMBER(10, 3), "RAT_SALY"
REM NUMBER(6, 2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETRBK" MODIFY ("MNY_SALY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRBK" MODIFY ("RAT_SALY" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX2_ETRBK" ON "ETRBK" ("COD_EMP" , "SER_SALY" ,
"COD_SALY" , "DAT_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRBK" ON "ETRBK" ("NUM_TRBK" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ETRBK" ON "ETRBK" ("COD_EMP" , "CLS_TRBK" ,
"DAT_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ETRBK" ADD CONSTRAINT "PK_ETRBK" PRIMARY KEY
REM ("NUM_TRBK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNC" ("NUM_TRNC" VARCHAR2(12) NOT NULL
REM ENABLE, "NAM_TRNC" VARCHAR2(40), "YAR_TRNB" VARCHAR2(4), "TIM_CLAS"
REM VARCHAR2(2), "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8), "REMARK"
REM VARCHAR2(400), "PS1" VARCHAR2(200), "NUM_DOCM1" VARCHAR2(20),
REM "NUM_DOCM2" VARCHAR2(20), "GROUP_ID1" VARCHAR2(8), "NUM_FLOWF1"
REM VARCHAR2(20), "GROUP_ID2" VARCHAR2(8), "NUM_FLOWF2" VARCHAR2(20),
REM "GROUP_ID3" VARCHAR2(8), "NUM_FLOWF3" VARCHAR2(20), "GROUP_ID4"
REM VARCHAR2(8), "NUM_FLOWF4" VARCHAR2(20), "GROUP_ID5" VARCHAR2(8),
REM "NUM_FLOWF5" VARCHAR2(20), "DAT_ONBEG" VARCHAR2(8), "DAT_ONEND"
REM VARCHAR2(8), "GROUP_ID6" VARCHAR2(8), "NUM_FLOWF6" VARCHAR2(20),
REM "GROUP_ID7" VARCHAR2(8), "NUM_FLOWF7" VARCHAR2(20), "GROUP_ID8"
REM VARCHAR2(8), "NUM_FLOWF8" VARCHAR2(20), "ORD_TRNC" VARCHAR2(4),
REM "PARA_MAP" VARCHAR2(4), "TYP_WUSER" VARCHAR2(3), "TYP_TRNC"
REM VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNC" ON "ETRNC" ("NUM_TRNC" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNC" ADD CONSTRAINT "PK_ETRNC" PRIMARY KEY
REM ("NUM_TRNC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNCP" ("NUM_TRNC" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_TRNCP" NUMBER(4, 0) NOT NULL ENABLE, "DTM_TRNCP"
REM VARCHAR2(16), "COD_CUST" VARCHAR2(10), "NAM_CUST" VARCHAR2(100),
REM "COD_DPT" VARCHAR2(8), "NAM_MEN" VARCHAR2(20), "NAM_POS" VARCHAR2(2),
REM "TEL_CUST" VARCHAR2(25), "EXT_TEL" VARCHAR2(6), "FAX_CUST"
REM VARCHAR2(25), "NUM_MTEL" VARCHAR2(25), "E_MAIL" VARCHAR2(100),
REM "USER_ID" VARCHAR2(8), "STS_TRNCP" VARCHAR2(2), "DAT_RECV"
REM VARCHAR2(8), "EMP_RECV" VARCHAR2(8), "DAT_CONF" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "DAT_CANCEL" VARCHAR2(8), "EMP_CANCEL"
REM VARCHAR2(8), "DSC_CANCEL" VARCHAR2(400), "EMAIL_S1" VARCHAR2(1),
REM "DTM_EMAIL" VARCHAR2(16), "EMP_EMAIL" VARCHAR2(8), "EMP_KEYIN"
REM VARCHAR2(8), "DTM_KEYIN" VARCHAR2(16), "REMARK" VARCHAR2(400),
REM "PREPARE1" VARCHAR2(1), "PREPARE2" VARCHAR2(1), "PREPARE3"
REM VARCHAR2(1), "PREPARE4" VARCHAR2(1), "CUST_PM" VARCHAR2(1)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNCP" ON "ETRNCP" ("NUM_TRNC" ,
"SEQ_TRNCP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNCP" ADD CONSTRAINT "PK_ETRNCP" PRIMARY KEY
REM ("NUM_TRNC", "SEQ_TRNCP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNCS" ("NUM_TRNC" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_TRNCP" NUMBER(4, 0) NOT NULL ENABLE, "LIN_CST"
REM VARCHAR2(3) NOT NULL ENABLE, "COD_CUST" VARCHAR2(10), "NAM_MAN"
REM VARCHAR2(60), "COD_POS" VARCHAR2(2), "EMAIL_MAN" VARCHAR2(100),
REM "TEL_MAN" VARCHAR2(25), "TEL_MOB" VARCHAR2(25), "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8), "REMARK" VARCHAR2(200)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNCS" ON "ETRNCS" ("NUM_TRNC" ,
"SEQ_TRNCP" , "LIN_CST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNCS" ADD CONSTRAINT "PK_ETRNCS" PRIMARY KEY
REM ("NUM_TRNC", "SEQ_TRNCP", "LIN_CST") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRND" ("NUM_TRNM" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_TRNM" VARCHAR2(2), "TIM_CLAS" VARCHAR2(2) NOT NULL
REM ENABLE, "COD_EMPL" VARCHAR2(8) NOT NULL ENABLE, "STS_ATTN"
REM VARCHAR2(3), "RST_TRND" NUMBER(5, 2), "LEV_TRND" NUMBER(4, 0),
REM "TST_TRND" VARCHAR2(2), "MNY_TRNM" NUMBER(8, 0), "MNY_COMP" NUMBER(8,
REM 0), "TYP_CHOS" VARCHAR2(2), "COD_CLAS" VARCHAR2(12), "COD_DPT"
REM VARCHAR2(8), "POS_EMPL" VARCHAR2(2), "RST_TRND2" NUMBER(5, 2),
REM "STN_EMPL" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETRND" MODIFY ("RST_TRND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRND" MODIFY ("LEV_TRND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRND" MODIFY ("MNY_TRNM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRND" MODIFY ("MNY_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRND" MODIFY ("RST_TRND2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRND" ON "ETRND" ("NUM_TRNM" ,
"COD_CLAS" , "TIM_CLAS" , "COD_EMPL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRND" ADD CONSTRAINT "PK_ETRND" PRIMARY KEY
REM ("NUM_TRNM", "COD_CLAS", "TIM_CLAS", "COD_EMPL") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNM" ("NUM_TRNM" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_TRNM" VARCHAR2(2), "COD_CLAS" VARCHAR2(12), "TIM_CLAS"
REM VARCHAR2(2) NOT NULL ENABLE, "YAR_TRNB" VARCHAR2(4), "DAT_TRNB"
REM VARCHAR2(8), "DAT_TRNE" VARCHAR2(8), "TIM_TRNM" VARCHAR2(10),
REM "DAY_TRNM" NUMBER(6, 2), "HUR_TRNM" NUMBER(7, 2), "MAN_TRNM"
REM NUMBER(3, 0), "MNY_TRNM" NUMBER(8, 0), "MST_TRNM" VARCHAR2(16),
REM "AST_TRNM" VARCHAR2(16), "IO_TRNM" VARCHAR2(1), "ADR_TRNM"
REM VARCHAR2(100), "REMARK" VARCHAR2(100), "COD_RSN" VARCHAR2(60),
REM "STN_TRNM" VARCHAR2(8), "STS_TRNM" VARCHAR2(2), "DTM_OLIN"
REM VARCHAR2(16), "SN_TRNM" VARCHAR2(12), "NUM_CNTL" VARCHAR2(16),
REM "NUM_ETQM" VARCHAR2(12), "DTM_ETQF" VARCHAR2(16), "DTM_ETQT"
REM VARCHAR2(16), "AFT_SCOR" NUMBER(6, 2), "OBJ_TRNM" VARCHAR2(2000),
REM "COD_ACC" VARCHAR2(10), "COD_DPT" VARCHAR2(8), "MAN_CLAS"
REM VARCHAR2(200), "EMP_CHK" VARCHAR2(8), "TYP_SRV" VARCHAR2(2),
REM "COD_CSUBL" VARCHAR2(100), "PS1" VARCHAR2(100), "NUM_TRNC"
REM VARCHAR2(12), "DSC_TRNM" VARCHAR2(100), "EMP_TECH" VARCHAR2(8),
REM "DPT_TECH" VARCHAR2(8), "POS_TECH" VARCHAR2(2), "EMP_ASST"
REM VARCHAR2(8), "DPT_ASST" VARCHAR2(8), "POS_ASST" VARCHAR2(2),
REM "STN_TECH" VARCHAR2(8), "STN_ASST" VARCHAR2(8), "TOPIC_TR"
REM VARCHAR2(100), "MNY_EXTRA" NUMBER(8, 2), "MNY_MINSP" NUMBER(8, 2))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("DAY_TRNM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("HUR_TRNM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("MAN_TRNM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("MNY_TRNM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("AFT_SCOR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("MNY_EXTRA" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ETRNM" MODIFY ("MNY_MINSP" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNM" ON "ETRNM" ("SN_TRNM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ETRNM" ON "ETRNM" ("NUM_TRNM" , "COD_CLAS" ,
"TIM_CLAS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNM" ADD CONSTRAINT "PK_ETRNM" PRIMARY KEY
REM ("SN_TRNM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNP" ("SN_TRNM" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_TRNM" VARCHAR2(12) NOT NULL ENABLE, "COD_CLAS"
REM VARCHAR2(12) NOT NULL ENABLE, "TIM_CLAS" VARCHAR2(2) NOT NULL ENABLE,
REM "LIN_TRNP" VARCHAR2(4) NOT NULL ENABLE, "COD_CUST" VARCHAR2(10),
REM "TEL_CUST" VARCHAR2(25), "FAX_CUST" VARCHAR2(25), "NAM_MEN"
REM VARCHAR2(20), "COD_DPT" VARCHAR2(8), "NAM_POS" VARCHAR2(2), "EXT_TEL"
REM VARCHAR2(6), "NUM_MTEL" VARCHAR2(25), "E_MAIL" VARCHAR2(100),
REM "TYP_EAT" VARCHAR2(2), "KEY_MAN" VARCHAR2(1), "STS_TRNP" VARCHAR2(2),
REM "DAT_TRNP" VARCHAR2(8), "DAT_RECV" VARCHAR2(8), "EMP_RECV"
REM VARCHAR2(8), "DAT_CANCEL" VARCHAR2(8), "EMP_CANCEL" VARCHAR2(8),
REM "TIM_SIGNI" VARCHAR2(4), "TIM_SIGNM" VARCHAR2(4), "PS_SIGN"
REM VARCHAR2(200), "EMAIL_R1" VARCHAR2(1), "EMAIL_R2" VARCHAR2(1),
REM "SEQ_CONF" NUMBER(2, 0), "STS_MACH" VARCHAR2(1), "STS_AUDIT"
REM VARCHAR2(1), "NUM_ONCA" VARCHAR2(12), "NUM_ONCAT" VARCHAR2(12), "PS1"
REM VARCHAR2(2000), "COD_CSUBL" VARCHAR2(100), "PAY_FULL" VARCHAR2(1),
REM "PAY_CANCEL" VARCHAR2(1), "STS_FEE" VARCHAR2(1), "MNY_FEE" NUMBER(6,
REM 2), "STS_CLAS" VARCHAR2(1), "MNY_FEECST" NUMBER(6, 2), "STS_SIGN"
REM VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETRNP" MODIFY ("SEQ_CONF" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNP" ON "ETRNP" ("SN_TRNM" , "LIN_TRNP"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ETRNP" ON "ETRNP" ("NUM_TRNM" , "COD_CLAS" ,
"TIM_CLAS" , "LIN_TRNP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNP" ADD CONSTRAINT "PK_ETRNP" PRIMARY KEY
REM ("SN_TRNM", "LIN_TRNP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNQ" ("SN_TRNM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_TRNQ" VARCHAR2(2) NOT NULL ENABLE, "NUM_ETQM"
REM VARCHAR2(12), "FOR_TRNQ" VARCHAR2(2), "REMARK" VARCHAR2(200),
REM "TIM_CLASD" VARCHAR2(2), "DTM_ETQF" VARCHAR2(16), "DTM_ETQT"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNQ" ON "ETRNQ" ("SN_TRNM" , "LIN_TRNQ"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNQ" ADD CONSTRAINT "PK_ETRNQ" PRIMARY KEY
REM ("SN_TRNM", "LIN_TRNQ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRNS" ("SN_TRNM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_TRNS" VARCHAR2(2) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10), "CNT_MANP" NUMBER(2, 0), "CNT_MCHP" NUMBER(2, 0),
REM "CNT_MANA" NUMBER(2, 0), "CNT_MCHA" NUMBER(2, 0), "DAT_CONF"
REM VARCHAR2(8), "EMP_CONF" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETRNS" MODIFY ("CNT_MANP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNS" MODIFY ("CNT_MCHP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNS" MODIFY ("CNT_MANA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ETRNS" MODIFY ("CNT_MCHA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRNS" ON "ETRNS" ("SN_TRNM" , "LIN_TRNS"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRNS" ADD CONSTRAINT "PK_ETRNS" PRIMARY KEY
REM ("SN_TRNM", "LIN_TRNS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ETRPS" ("SN_TRNM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_TRNP" VARCHAR2(4) NOT NULL ENABLE, "NAM_MEN"
REM VARCHAR2(20) NOT NULL ENABLE, "TYP_TEST" VARCHAR2(2) NOT NULL ENABLE,
REM "COD_CUST" VARCHAR2(10), "SCR_TEST" NUMBER(6, 2), "NO_TEST" NUMBER(3,
REM 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ETRPS" MODIFY ("SCR_TEST" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ETRPS" ON "ETRPS" ("SN_TRNM" , "LIN_TRNP"
, "NAM_MEN" , "TYP_TEST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ETRPS" ADD CONSTRAINT "PK_ETRPS" PRIMARY KEY
REM ("SN_TRNM", "LIN_TRNP", "NAM_MEN", "TYP_TEST") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EWKCT" ("COD_WKCT" VARCHAR2(8) NOT NULL
REM ENABLE, "NAM_WKCT" VARCHAR2(20), "CLS_WORK" VARCHAR2(1) NOT NULL
REM ENABLE, "COD_WKTM" VARCHAR2(3), "QTY_MREQ" NUMBER(5, 0), "QTY_MPOS"
REM NUMBER(5, 0), "DAY_NIGH" VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EWKCT" MODIFY ("QTY_MREQ" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKCT" MODIFY ("QTY_MPOS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_WKCT" ON "EWKCT" ("COD_WKCT" , "CLS_WORK"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EWKCT" ADD CONSTRAINT "PK_WKCT" PRIMARY KEY
REM ("COD_WKCT", "CLS_WORK") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EWKSH" ("COD_EMP" VARCHAR2(8) NOT NULL ENABLE,
REM "DAT_WKSH" VARCHAR2(8) NOT NULL ENABLE, "LIN_WKSH" VARCHAR2(2) NOT
REM NULL ENABLE, "TIM_BEG" VARCHAR2(4), "TIM_END" VARCHAR2(4), "HRS_WK"
REM NUMBER(6, 2), "HRS_WK1" NUMBER(6, 2), "HRS_WK2" NUMBER(6, 2),
REM "DAT_UPDT" VARCHAR2(8), "COD_WKCT" VARCHAR2(8), "TIM_SIGI"
REM VARCHAR2(4), "TIM_SIGO" VARCHAR2(4), "TIM_DLY" NUMBER(4, 0), "COD_IO"
REM VARCHAR2(1), "COD_REST" VARCHAR2(3), "DSP_WHSH" VARCHAR2(30),
REM "HRS_NORL" NUMBER(5, 1), "HRS_OVER" NUMBER(5, 1), "TIM_F1"
REM VARCHAR2(4), "TIM_F3" VARCHAR2(4), "TIM_F4" VARCHAR2(4), "TIM_F2"
REM VARCHAR2(4), "DAT_EXP" VARCHAR2(8), "EMP_EXP" VARCHAR2(8), "DAY_NIGH"
REM VARCHAR2(1), "IS_OVER" VARCHAR2(1), "COD_SRTD" VARCHAR2(1), "COD_POS"
REM VARCHAR2(2), "TYP_EMP" VARCHAR2(2), "TYP_ATTN" VARCHAR2(3), "DAY_WK"
REM NUMBER(5, 2), "COD_WKTM" VARCHAR2(3), "TIM_ELY" NUMBER(4, 0),
REM "COD_MTN" VARCHAR2(2), "TIM_UPDT" VARCHAR2(8), "EMP_UPDT"
REM VARCHAR2(8), "LOGIN_ID" VARCHAR2(8), "TIM_WKE1" VARCHAR2(4),
REM "TIM_WKB2" VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("HRS_WK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("HRS_WK1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("HRS_WK2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("TIM_DLY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("HRS_NORL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("HRS_OVER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("IS_OVER" DEFAULT 'N') ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("COD_SRTD" DEFAULT 'N') ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("TYP_ATTN" DEFAULT '999') ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("DAY_WK" DEFAULT 1) ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("COD_WKTM" DEFAULT 'xxx') ;
REM ALTER TABLE "MFTEST"."EWKSH" MODIFY ("TIM_ELY" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX2_EWKSH" ON "EWKSH" ("DAT_WKSH" , "COD_WKCT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_EWKSH" ON "EWKSH" ("COD_WKCT" , "DAT_WKSH" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_WKSH" ON "EWKSH" ("COD_EMP" , "DAT_WKSH"
, "LIN_WKSH" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EWKSH" ADD CONSTRAINT "PK_WKSH" PRIMARY KEY
REM ("COD_EMP", "DAT_WKSH", "LIN_WKSH") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EWKTM" ("COD_WKTM" VARCHAR2(3) NOT NULL
REM ENABLE, "TIM_WKB" VARCHAR2(4), "TIM_WKE" VARCHAR2(4), "HRS_WK"
REM NUMBER(5, 1), "HRS_WK1" NUMBER(5, 1), "HRS_WK2" NUMBER(5, 1),
REM "HRS_SEC" NUMBER(2, 0), "SES_RAGB" NUMBER(3, 0), "PS1" VARCHAR2(100),
REM "PS2" VARCHAR2(100), "PS_N1" NUMBER(7, 2), "PS_N2" NUMBER(7, 2),
REM "TIM_WKE1" VARCHAR2(4), "TIM_WKB2" VARCHAR2(4), "SEC_EAR1" NUMBER(3,
REM 0), "SEC_DLY1" NUMBER(3, 0), "SEC_EAR2" NUMBER(3, 0), "SEC_DLY2"
REM NUMBER(3, 0), "TIM_OVH" VARCHAR2(4), "TIM_OVHB" VARCHAR2(4),
REM "MERGE_SEC" NUMBER(2, 0), "ALLOT_SEC" VARCHAR2(60)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("HRS_WK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("HRS_WK1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("HRS_WK2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("HRS_SEC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("SES_RAGB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EWKTM" MODIFY ("MERGE_SEC" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_WKTM" ON "EWKTM" ("COD_WKTM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."EWKTM" ADD CONSTRAINT "PK_WKTM" PRIMARY KEY
REM ("COD_WKTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EWKTMR" ("COD_WKTM" VARCHAR2(3) NOT NULL
REM ENABLE, "SEQ_WKTMR" VARCHAR2(3) NOT NULL ENABLE, "TYP_REST"
REM VARCHAR2(2), "TIM_RESTB" VARCHAR2(4), "TIM_RESTE" VARCHAR2(4),
REM "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EWKTMR" ON "EWKTMR" ("COD_WKTM" ,
"SEQ_WKTMR" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EWKTMR" ADD CONSTRAINT "PK_EWKTMR" PRIMARY KEY
REM ("COD_WKTM", "SEQ_WKTMR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EXELIB" ("NUM_EXE" VARCHAR2(12) NOT NULL
REM ENABLE, "NAM_EXE" VARCHAR2(50), "NUM_LIB" VARCHAR2(12) NOT NULL
REM ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_EXELIB" ON "EXELIB" ("NUM_EXE" ,
"NUM_LIB" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EXELIB" ADD CONSTRAINT "PK_EXELIB" PRIMARY KEY
REM ("NUM_EXE", "NUM_LIB") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."EYRST" ("YAR_RST" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_EMP" VARCHAR2(8) NOT NULL ENABLE, "COD_RST" VARCHAR2(2) NOT NULL
REM ENABLE, "HUR_RST" NUMBER(6, 2), "DAY_RST" NUMBER(5, 2), "HUR_RSTA"
REM NUMBER(6, 2), "DAY_RSTA" NUMBER(5, 2), "HUR_RSTO" NUMBER(6, 2),
REM "DAY_RSTO" NUMBER(5, 2), "MNY_RSTO" NUMBER(9, 3), "MON_RSTO"
REM VARCHAR2(6), "DAT_RSTO" VARCHAR2(8), "TIM_RSTO" VARCHAR2(4),
REM "EMP_RSTO" VARCHAR2(8), "DAT_RST" VARCHAR2(8), "DAT_SING"
REM VARCHAR2(8), "TIM_SING" VARCHAR2(4), "EMP_SING" VARCHAR2(8),
REM "STS_RST" VARCHAR2(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("HUR_RST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("DAY_RST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("HUR_RSTA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("DAY_RSTA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("HUR_RSTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("DAY_RSTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("MNY_RSTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."EYRST" MODIFY ("STS_RST" DEFAULT '00') ;
CREATE UNIQUE INDEX "MFTEST"."PK_EYRST" ON "EYRST" ("YAR_RST" , "COD_EMP"
, "COD_RST" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."EYRST" ADD CONSTRAINT "PK_EYRST" PRIMARY KEY
REM ("YAR_RST", "COD_EMP", "COD_RST") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FABD" ("NUM_FABM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_FABM" VARCHAR2(3) NOT NULL ENABLE, "TYP_SUPY"
REM VARCHAR2(2), "COD_ITEM" VARCHAR2(20), "QTY_FABM" NUMBER(13, 4),
REM "PRS_OLD" NUMBER(14, 4), "MNY_OLD" NUMBER(17, 4), "OLD_BILL"
REM VARCHAR2(12), "LIN_BILL" VARCHAR2(3), "QTY_ACT" NUMBER(13, 4),
REM "PRS_ACT" NUMBER(14, 4), "MNY_ACT" NUMBER(17, 4), "COD_LOC"
REM VARCHAR2(10), "SER_PCS" VARCHAR2(20), "COD_QC" VARCHAR2(2),
REM "DAT_MTRN" VARCHAR2(8), "QTY_BUYP" NUMBER(14, 6), "UNT_BUYP"
REM VARCHAR2(3), "NUM_VER" VARCHAR2(40), "STR_GROUP" VARCHAR2(12),
REM "DAT_EFF" VARCHAR2(8), "NUM_DSC" VARCHAR2(12), "PS_LCST"
REM VARCHAR2(200), "RAT_COSTS" NUMBER(6, 3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("QTY_FABM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("PRS_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("MNY_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("QTY_ACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("PRS_ACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("MNY_ACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("QTY_BUYP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FABD" MODIFY ("RAT_COSTS" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FABD" ON "FABD" ("NUM_FABM" , "LIN_FABM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 720896 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FABD" ADD CONSTRAINT "PK_FABD" PRIMARY KEY
REM ("NUM_FABM", "LIN_FABM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 720896 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FABM" ("NUM_FABM" VARCHAR2(12) NOT NULL
REM ENABLE, "TYP_FABM" VARCHAR2(2), "DAT_FABM" VARCHAR2(8), "DPT_FABM"
REM VARCHAR2(8), "EMP_FABM" VARCHAR2(8), "NUM_PS" VARCHAR2(12), "NUM_OLD"
REM VARCHAR2(16), "LIN_OLD" VARCHAR2(3), "DAT_TRN" VARCHAR2(8), "EMP_TRN"
REM VARCHAR2(8), "STS_FABM" VARCHAR2(2), "RSN_FABM" VARCHAR2(2),
REM "DPT_CTL" VARCHAR2(8), "REMARK" VARCHAR2(200), "DTM_CONF"
REM VARCHAR2(16), "EMP_CONF" VARCHAR2(8), "DAT_SYNC" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 720896
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FABM" ON "FABM" ("NUM_FABM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FABM" ADD CONSTRAINT "PK_FABM" PRIMARY KEY
REM ("NUM_FABM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FACT" ("NUM_CUST" VARCHAR2(20), "COD_FACT"
REM VARCHAR2(10) NOT NULL ENABLE, "NUM_REG" VARCHAR2(20), "NAM_FACT"
REM VARCHAR2(60), "NAM_FACTS" VARCHAR2(12), "NAM_COB" VARCHAR2(30),
REM "NAM_ATTN" VARCHAR2(30), "DAT_BIRTH" VARCHAR2(8), "NUM_TEL1"
REM VARCHAR2(25), "NUM_TEL2" VARCHAR2(25), "NAM_POS" VARCHAR2(3),
REM "NUM_FAX" VARCHAR2(25), "ADD_REG" VARCHAR2(100), "ADD_ATTN"
REM VARCHAR2(100), "COD_PAYM" VARCHAR2(2), "COD_REL" VARCHAR2(4),
REM "COD_IND" VARCHAR2(4), "COD_DOLA" VARCHAR2(3), "COD_INVT"
REM VARCHAR2(2), "DSP_PS" VARCHAR2(80), "NUM_AREA" VARCHAR2(7),
REM "DAT_KEYIN" VARCHAR2(8), "COD_DPT" VARCHAR2(8), "CNT_COMP" NUMBER(6,
REM 0), "CNT_FACT" NUMBER(6, 0), "DAT_CRET" VARCHAR2(8), "AMT_CRET"
REM NUMBER(12, 0), "COD_BUSI" VARCHAR2(3), "POS_AREA" VARCHAR2(8),
REM "NAM_FACTE" VARCHAR2(100), "ADD_ENG" VARCHAR2(200), "DAT_USET"
REM VARCHAR2(8), "NUM_BBC" VARCHAR2(25), "CHK_PAYM" VARCHAR2(2),
REM "DAT_MONTH" VARCHAR2(2), "DAY_PAY" VARCHAR2(2), "DAT_MONBG"
REM VARCHAR2(2), "IO_FACT" VARCHAR2(1), "TAX_TYPE" VARCHAR2(2),
REM "RAT_CASH" NUMBER(6, 3), "ADD_MAIL" VARCHAR2(100), "EMP_KEYIN"
REM VARCHAR2(8), "DAT_LAST" VARCHAR2(8), "EMP_LAST" VARCHAR2(8),
REM "COD_LOCT" VARCHAR2(10), "EMP_APLY" VARCHAR2(8), "PS1" VARCHAR2(100),
REM "PS2" VARCHAR2(100), "PS3" VARCHAR2(100), "PS_N1" NUMBER(11, 3),
REM "PS_N2" NUMBER(11, 3), "PS_N3" NUMBER(11, 3), "IE_XTAX" VARCHAR2(1),
REM "COD_QUT" VARCHAR2(3), "NAM_CHECK" VARCHAR2(60), "FACT_SYS"
REM VARCHAR2(8), "BUYD_LIMIT" NUMBER(3, 0), "TO_FACTSTT" VARCHAR2(1),
REM "BUS_FACT" VARCHAR2(1), "COD_CSUB" VARCHAR2(4), "PS4" VARCHAR2(100),
REM "PS5" VARCHAR2(100), "PS6" VARCHAR2(100)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 720896 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("CNT_COMP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("CNT_FACT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("AMT_CRET" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("RAT_CASH" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT" MODIFY ("BUYD_LIMIT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FACT" ON "FACT" ("COD_FACT" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_FACT" ON "FACT" ("COD_DPT" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FACT" ADD CONSTRAINT "PK_FACT" PRIMARY KEY
REM ("COD_FACT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FACTSTT" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_FSTT" VARCHAR2(3) NOT NULL ENABLE, "VAL_STT" NUMBER(17,
REM 4), "DAT_STT" VARCHAR2(8), "UID_STT" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FACTSTT" MODIFY ("VAL_STT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FACTSTT" ON "FACTSTT" ("COD_FACT" ,
"COD_FSTT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."FACTSTT" ADD CONSTRAINT "PK_FACTSTT" PRIMARY
REM KEY ("COD_FACT", "COD_FSTT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FACT_POS" ("NUM_CUST" VARCHAR2(20), "COD_FACT"
REM VARCHAR2(10) NOT NULL ENABLE, "COD_DPT" VARCHAR2(8), "NUM_REG"
REM VARCHAR2(20), "NAM_FACT" VARCHAR2(60), "NAM_FACTS" VARCHAR2(12),
REM "NAM_COB" VARCHAR2(30), "NAM_ATTN" VARCHAR2(30), "DAT_BIRTH"
REM VARCHAR2(8), "NUM_TEL1" VARCHAR2(25), "NUM_TEL2" VARCHAR2(25),
REM "NAM_POS" VARCHAR2(3), "NUM_FAX" VARCHAR2(25), "ADD_REG"
REM VARCHAR2(100), "ADD_ATTN" VARCHAR2(100), "COD_PAYM" VARCHAR2(2),
REM "COD_REL" VARCHAR2(4), "COD_IND" VARCHAR2(4), "COD_DOLA" VARCHAR2(3),
REM "COD_INVT" VARCHAR2(2), "DSP_PS" VARCHAR2(80), "NUM_AREA"
REM VARCHAR2(7), "DAT_KEYIN" VARCHAR2(8), "CNT_COMP" NUMBER(6, 0),
REM "CNT_FACT" NUMBER(6, 0), "DAT_CRET" VARCHAR2(8), "AMT_CRET"
REM NUMBER(12, 0), "COD_BUSI" VARCHAR2(3), "POS_AREA" VARCHAR2(8),
REM "NAM_FACTE" VARCHAR2(100), "ADD_ENG" VARCHAR2(200), "DAT_USET"
REM VARCHAR2(8), "NUM_BBC" VARCHAR2(25), "CHK_PAYM" VARCHAR2(2),
REM "DAT_MONTH" VARCHAR2(2), "DAY_PAY" VARCHAR2(2), "DAT_MONBG"
REM VARCHAR2(2), "IO_FACT" VARCHAR2(1), "TAX_TYPE" VARCHAR2(2),
REM "RAT_CASH" NUMBER(6, 3), "ADD_MAIL" VARCHAR2(100), "DAT_LAST"
REM VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "EMP_KEYIN" VARCHAR2(8),
REM "COD_LOCT" VARCHAR2(10), "EMP_APLY" VARCHAR2(8), "PS1" VARCHAR2(100),
REM "PS2" VARCHAR2(100), "PS3" VARCHAR2(100), "PS_N1" NUMBER(11, 3),
REM "PS_N2" NUMBER(11, 3), "PS_N3" NUMBER(11, 3), "IE_XTAX" VARCHAR2(1),
REM "COD_QUT" VARCHAR2(3), "NAM_CHECK" VARCHAR2(60), "FACT_SYS"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FACT_POS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT_POS" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FACT_POS" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FACT_POS" ON "FACT_POS" ("COD_FACT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FACT_POS" ADD CONSTRAINT "PK_FACT_POS" PRIMARY
REM KEY ("COD_FACT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FADJ" ("NUM_FADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_FADJ" VARCHAR2(4) NOT NULL ENABLE, "DAT_FADJ"
REM VARCHAR2(8), "TYP_FADJ" VARCHAR2(2), "COD_FACT" VARCHAR2(10),
REM "COD_ITEMO" VARCHAR2(25), "COD_ITEM" VARCHAR2(20), "QTY_TRNSB"
REM NUMBER(8, 0), "QTY_TRNSE" NUMBER(8, 0), "OLD_PRIC" NUMBER(15, 5),
REM "NEW_PRIC" NUMBER(15, 5), "EMP_FADJ" VARCHAR2(8), "STS_FADJ"
REM VARCHAR2(2), "DAT_CANL" VARCHAR2(8), "EMP_CANL" VARCHAR2(8),
REM "DSC_CANL" VARCHAR2(200), "UNT_STK" VARCHAR2(3), "STS_QC"
REM VARCHAR2(2), "DAY_DEL" NUMBER(3, 0), "COD_WAR" VARCHAR2(3),
REM "COD_DOLA" VARCHAR2(3), "NUM_FILE" VARCHAR2(30), "DAT_CONF"
REM VARCHAR2(8), "STS_FITM" VARCHAR2(2), "DAT_FILE" VARCHAR2(8),
REM "DOC_CONM" VARCHAR2(20), "BARCODE" VARCHAR2(20), "NUM_BMP"
REM VARCHAR2(12), "SEQ_FACT" VARCHAR2(1), "REMARK" VARCHAR2(60),
REM "DSC_PKG" VARCHAR2(2000), "COD_EMPL" VARCHAR2(8), "DAT_KEYIN"
REM VARCHAR2(8), "DSC_AJD" VARCHAR2(2000), "COD_DOLAO" VARCHAR2(3),
REM "EMP_2FITM" VARCHAR2(8), "DTM_2FITM" VARCHAR2(16), "DPT_CTL"
REM VARCHAR2(8), "NUM_CNTL" VARCHAR2(16), "UNT_BUYO" VARCHAR2(3),
REM "OLD_POUT" NUMBER(15, 5), "NEW_POUT" NUMBER(15, 5)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("QTY_TRNSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("QTY_TRNSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("OLD_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("NEW_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("OLD_POUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FADJ" MODIFY ("NEW_POUT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FADJ" ON "FADJ" ("NUM_FADJ" , "LIN_FADJ"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FADJ" ADD CONSTRAINT "PK_FADJ" PRIMARY KEY
REM ("NUM_FADJ", "LIN_FADJ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FADJM" ("NUM_FADJ" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_FADM" VARCHAR2(8), "EMP_FADM" VARCHAR2(8), "RSN_FADM"
REM VARCHAR2(2), "REMARK" VARCHAR2(200), "DPT_CTL" VARCHAR2(8), "DAT_EFF"
REM VARCHAR2(8), "NUM_CNTL" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FADJM" ON "FADJM" ("NUM_FADJ" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FADJM" ADD CONSTRAINT "PK_FADJM" PRIMARY KEY
REM ("NUM_FADJ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FAPG" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_FACTG" VARCHAR2(10) NOT NULL ENABLE, "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FAPG" ON "FAPG" ("COD_FACT" , "COD_FACTG"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FAPG" ADD CONSTRAINT "PK_FAPG" PRIMARY KEY
REM ("COD_FACT", "COD_FACTG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FATNO" ("COD_FATO" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_FATN" VARCHAR2(10), "SEQ_NO" NUMBER(6, 0), "DAT_FATC"
REM VARCHAR2(8), "STS_FATC" VARCHAR2(2), "MSG_FATC" VARCHAR2(100),
REM "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8), "NAM_FATN"
REM VARCHAR2(30), "NAM_FATNS" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FATNO" MODIFY ("SEQ_NO" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FATNO" ON "FATNO" ("COD_FATO" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FATNO" ADD CONSTRAINT "PK_FATNO" PRIMARY KEY
REM ("COD_FATO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FATT" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "LIN_DPT" VARCHAR2(2)
REM NOT NULL ENABLE, "NAM_ATTN" VARCHAR2(30), "NAM_POS" VARCHAR2(3),
REM "DAT_BIRTH" VARCHAR2(8), "NUM_TEL" VARCHAR2(25), "NUM_FAX"
REM VARCHAR2(25), "EMAIL" VARCHAR2(100), "NUM_AREA" VARCHAR2(7), "ADDR"
REM VARCHAR2(100), "PS" VARCHAR2(80), "NUM_BBC" VARCHAR2(25), "LST_MAIL"
REM VARCHAR2(20), "COD_SEX" VARCHAR2(1), "NUM_MOB" VARCHAR2(25),
REM "POS_AREA" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FATT" ON "FATT" ("COD_FACT" , "NUM_DPT" ,
"LIN_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."FATT" ADD CONSTRAINT "PK_FATT" PRIMARY KEY
REM ("COD_FACT", "NUM_DPT", "LIN_DPT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FDPT" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "NUM_CUST"
REM VARCHAR2(20), "COD_EDI" VARCHAR2(17), "COD_NET" VARCHAR2(4),
REM "NAM_DPT" VARCHAR2(30), "ADD_DPT" VARCHAR2(100), "NAM_ATTN"
REM VARCHAR2(30), "NAM_POS" VARCHAR2(3), "DAT_BIRTH" VARCHAR2(8),
REM "NUM_TEL" VARCHAR2(25), "NUM_FAX" VARCHAR2(25), "NUM_AREA"
REM VARCHAR2(7), "COD_EMP" VARCHAR2(30), "COD_TRN" VARCHAR2(3), "NUM_ACC"
REM VARCHAR2(30), "POS_AREA" VARCHAR2(8), "COD_BANK" VARCHAR2(3),
REM "COD_BRANCH" VARCHAR2(10), "NAM_DEPOSIT" VARCHAR2(60), "NAM_DPTE"
REM VARCHAR2(100), "ADD_ENG" VARCHAR2(200), "EMAILE" VARCHAR2(100),
REM "NUM_BBC" VARCHAR2(25), "PS" VARCHAR2(80), "BUY_CRDT" NUMBER(12, 0),
REM "IP_ADDR" VARCHAR2(100), "NUM_PTAX" VARCHAR2(20), "COD_PAYM"
REM VARCHAR2(3), "DPT_CTL" VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "PS1"
REM VARCHAR2(100), "PS2" VARCHAR2(100), "PS3" VARCHAR2(100), "PS_N1"
REM NUMBER(11, 3), "PS_N2" NUMBER(11, 3), "PS_N3" NUMBER(11, 3),
REM "DAT_LAST" VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "COD_DOLA"
REM VARCHAR2(3), "CHK_PAYM" VARCHAR2(2), "ADD_BILL" VARCHAR2(200))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 655360
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FDPT" MODIFY ("BUY_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FDPT" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FDPT" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FDPT" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FDPT" ON "FDPT" ("COD_FACT" , "NUM_DPT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FDPT" ADD CONSTRAINT "PK_FDPT" PRIMARY KEY
REM ("COD_FACT", "NUM_DPT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FDPTCTL" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "SEQ_NO" VARCHAR2(4)
REM NOT NULL ENABLE, "DPT_CTL" VARCHAR2(8), "COD_ITEM" VARCHAR2(20),
REM "DAT_EFFB" VARCHAR2(8), "DAT_EFFE" VARCHAR2(8), "PS1" VARCHAR2(200),
REM "PS2" VARCHAR2(200), "PS_N1" NUMBER(14, 4), "PS_N2" NUMBER(14, 4),
REM "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FDPTCTL" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FDPTCTL" MODIFY ("PS_N2" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FDPTCTL" ON "FDPTCTL" ("COD_FACT" ,
"NUM_DPT" , "SEQ_NO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FDPTCTL" ADD CONSTRAINT "PK_FDPTCTL" PRIMARY
REM KEY ("COD_FACT", "NUM_DPT", "SEQ_NO") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FDPT_POS" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_DPT" VARCHAR2(8) NOT NULL ENABLE, "NUM_CUST"
REM VARCHAR2(20), "COD_EDI" VARCHAR2(17), "COD_NET" VARCHAR2(4),
REM "NAM_DPT" VARCHAR2(30), "ADD_DPT" VARCHAR2(100), "NAM_ATTN"
REM VARCHAR2(30), "NAM_POS" VARCHAR2(3), "DAT_BIRTH" VARCHAR2(8),
REM "NUM_TEL" VARCHAR2(25), "NUM_FAX" VARCHAR2(25), "NUM_AREA"
REM VARCHAR2(7), "COD_EMP" VARCHAR2(30), "COD_TRN" VARCHAR2(3), "NUM_ACC"
REM VARCHAR2(24), "POS_AREA" VARCHAR2(8), "COD_BANK" VARCHAR2(3),
REM "COD_BRANCH" VARCHAR2(10), "NAM_DEPOSIT" VARCHAR2(60), "NAM_DPTE"
REM VARCHAR2(100), "ADD_ENG" VARCHAR2(200), "EMAILE" VARCHAR2(100),
REM "NUM_BBC" VARCHAR2(25), "PS" VARCHAR2(80), "BUY_CRDT" NUMBER(12, 0),
REM "IP_ADDR" VARCHAR2(100), "NUM_PTAX" VARCHAR2(20), "DPT_CTL"
REM VARCHAR2(8), "TAX_TYPE" VARCHAR2(2), "PS1" VARCHAR2(100), "PS2"
REM VARCHAR2(100), "PS3" VARCHAR2(100), "PS_N1" NUMBER(11, 3), "PS_N2"
REM NUMBER(11, 3), "PS_N3" NUMBER(11, 3), "COD_PAYM" VARCHAR2(3),
REM "DAT_LAST" VARCHAR2(8), "EMP_LAST" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FDPT_POS" MODIFY ("BUY_CRDT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FDPT_POS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FDPT_POS" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FDPT_POS" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FDPT_POS" ON "FDPT_POS" ("COD_FACT" ,
"NUM_DPT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."FDPT_POS" ADD CONSTRAINT "PK_FDPT_POS" PRIMARY
REM KEY ("COD_FACT", "NUM_DPT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FITM" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_ITEMF" VARCHAR2(25) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20), "UNT_STK" VARCHAR2(3), "UNT_PRIC" NUMBER(16, 5),
REM "LST_DAT" VARCHAR2(8), "LST_PRIC" NUMBER(16, 5), "STS_QC"
REM VARCHAR2(2), "DAY_DEL" NUMBER(3, 0), "COD_WAR" VARCHAR2(3),
REM "NUM_FILE" VARCHAR2(30), "ASK_PRIC" NUMBER(15, 5), "REMARK"
REM VARCHAR2(60), "COD_EMPL" VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8),
REM "SEQ_FACT" VARCHAR2(1), "COD_DOLA" VARCHAR2(3), "STS_FITM"
REM VARCHAR2(2), "DAT_FILE" VARCHAR2(8), "NUM_BMP" VARCHAR2(12),
REM "DAT_CONF" VARCHAR2(8), "DSC_PKG" VARCHAR2(2000), "BARCODE"
REM VARCHAR2(20), "DOC_CONM" VARCHAR2(20), "DISC_PRS" NUMBER(6, 3),
REM "NUM_FITM" VARCHAR2(12) NOT NULL ENABLE, "DPT_CTL" VARCHAR2(8),
REM "COD_QUT" VARCHAR2(3), "CLS_DOLLA" VARCHAR2(3), "DAT_LAST"
REM VARCHAR2(8), "EMP_LAST" VARCHAR2(8), "NUM_CNTL" VARCHAR2(16),
REM "UNT_BUYO" VARCHAR2(3), "PRS_BUYO" NUMBER(15, 5), "TAX_TYPE"
REM VARCHAR2(2), "PS1" VARCHAR2(200), "PS2" VARCHAR2(200), "PS_N1"
REM NUMBER(16, 5), "PS_N2" NUMBER(16, 5), "PS_N3" NUMBER(16, 5), "PS3"
REM VARCHAR2(200), "PS4" VARCHAR2(200), "PS5" VARCHAR2(200), "PS7"
REM VARCHAR2(200), "PS6" VARCHAR2(200), "PS8" VARCHAR2(200), "PS_N4"
REM NUMBER(16, 5), "PS_N5" NUMBER(16, 5), "PS_N6" NUMBER(16, 5), "PS_N7"
REM NUMBER(16, 5), "PS_N8" NUMBER(16, 5)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 7340032 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("UNT_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("LST_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("ASK_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("DISC_PRS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PRS_BUYO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N3" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N4" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N5" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N6" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N7" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FITM" MODIFY ("PS_N8" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IDX2_FITM" ON "FITM" ("COD_FACT" , "COD_ITEMF" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_FITM" ON "FITM" ("NUM_FITM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_FITM" ON "FITM" ("COD_ITEM" ,
"COD_FACT" , "DPT_CTL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 3145728 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_FITM" ON "FITM" ("BARCODE" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FITM" ADD CONSTRAINT "PK_FITM" PRIMARY KEY
REM ("NUM_FITM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FITMGM" ("NUM_SGSM" VARCHAR2(30) NOT NULL
REM ENABLE, "NUM_FILE" VARCHAR2(30), "COD_FACT" VARCHAR2(10), "COD_ITEM"
REM VARCHAR2(20), "NUM_SGS" VARCHAR2(120), "YN_ITMGP" VARCHAR2(1),
REM "ITEM_QC" VARCHAR2(20)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_FITMGM" ON "FITMGM" ("COD_FACT" ,
"COD_ITEM" , "NUM_FILE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_FITMGM" ON "FITMGM" ("NUM_SGSM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FITMGM" ADD CONSTRAINT "PK_FITMGM" PRIMARY KEY
REM ("NUM_SGSM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FITMGP" ("NUM_SGSM" VARCHAR2(30) NOT NULL
REM ENABLE, "NUM_FILE" VARCHAR2(30), "SEQ_ITMGP" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_QC" VARCHAR2(10), "VAL_STD" VARCHAR2(20), "VAL_ITMGP"
REM VARCHAR2(20), "REMARK" VARCHAR2(200), "UID_UPD" VARCHAR2(8),
REM "DAT_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FITMGP" ON "FITMGP" ("NUM_SGSM" ,
"SEQ_ITMGP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."FITMGP" ADD CONSTRAINT "PK_FITMGP" PRIMARY KEY
REM ("NUM_SGSM", "SEQ_ITMGP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FITM_POS" ("NUM_FITM" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_FACT" VARCHAR2(10) NOT NULL ENABLE, "COD_ITEMF"
REM VARCHAR2(25) NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20), "UNT_STK"
REM VARCHAR2(3), "UNT_PRIC" NUMBER(16, 5), "LST_DAT" VARCHAR2(8),
REM "LST_PRIC" NUMBER(16, 5), "ASK_PRIC" NUMBER(15, 5), "STS_QC"
REM VARCHAR2(2), "DAY_DEL" NUMBER(3, 0), "COD_WAR" VARCHAR2(3),
REM "NUM_FILE" VARCHAR2(30), "REMARK" VARCHAR2(60), "COD_EMPL"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "SEQ_FACT" VARCHAR2(1),
REM "COD_DOLA" VARCHAR2(3), "STS_FITM" VARCHAR2(2), "DAT_FILE"
REM VARCHAR2(8), "NUM_BMP" VARCHAR2(12), "DAT_CONF" VARCHAR2(8),
REM "DSC_PKG" VARCHAR2(2000), "BARCODE" VARCHAR2(20), "DOC_CONM"
REM VARCHAR2(20), "DISC_PRS" NUMBER(6, 3), "COD_QUT" VARCHAR2(3),
REM "DPT_CTL" VARCHAR2(8), "CLS_DOLLA" VARCHAR2(3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FITM_POS" MODIFY ("UNT_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM_POS" MODIFY ("LST_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM_POS" MODIFY ("ASK_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FITM_POS" MODIFY ("DISC_PRS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FITM_POS" ON "FITM_POS" ("NUM_FITM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FITM_POS" ADD CONSTRAINT "PK_FITM_POS" PRIMARY
REM KEY ("NUM_FITM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FPCD" ("NUM_CUST" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_FACT" VARCHAR2(8), "COD_PAY" VARCHAR2(2) NOT NULL
REM ENABLE, "DSC_PAY" VARCHAR2(30)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FPCD" ON "FPCD" ("NUM_CUST" , "COD_PAY" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FPCD" ADD CONSTRAINT "PK_FPCD" PRIMARY KEY
REM ("NUM_CUST", "COD_PAY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FQUT" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "NUM_FQUT" VARCHAR2(12) NOT NULL ENABLE, "LIN_FQUT"
REM VARCHAR2(2) NOT NULL ENABLE, "DAT_FQUT" VARCHAR2(8), "COD_ITEMF"
REM VARCHAR2(25), "COD_ITEM" VARCHAR2(20), "UNT_PRIC" NUMBER(16, 5),
REM "COD_DOLA" VARCHAR2(3), "UNT_STK" VARCHAR2(3), "DAY_DEL" NUMBER(3,
REM 0), "COD_WAR" VARCHAR2(3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FQUT" MODIFY ("UNT_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FQUT" MODIFY ("DAY_DEL" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_FQUT" ON "FQUT" ("COD_ITEM" , "DAT_FQUT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_FQUT" ON "FQUT" ("COD_FACT" , "COD_ITEM" ,
"DAT_FQUT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_FQUT" ON "FQUT" ("COD_FACT" , "NUM_FQUT"
, "LIN_FQUT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."FQUT" ADD CONSTRAINT "PK_FQUT" PRIMARY KEY
REM ("COD_FACT", "NUM_FQUT", "LIN_FQUT") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FRPC" ("COD_FACT" VARCHAR2(10) NOT NULL
REM ENABLE, "COD_ITEMF" VARCHAR2(25) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20) NOT NULL ENABLE, "QTY_TRNSB" NUMBER(11, 3) NOT NULL
REM ENABLE, "QTY_TRNSE" NUMBER(11, 3), "AMT_TRNS" NUMBER(15, 5),
REM "DSC_TRNS" NUMBER(3, 0), "CLS_TRNS" VARCHAR2(1), "NUM_OP"
REM VARCHAR2(3), "TYP_WORK" VARCHAR2(4), "LST_DAT" VARCHAR2(8),
REM "LST_PRIC" NUMBER(16, 5), "CLS_DOLLA" VARCHAR2(3), "COD_EMPL"
REM VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "DAY_DEL" NUMBER(3, 0),
REM "COD_DOLA" VARCHAR2(3), "UNT_BUYO" VARCHAR2(3), "PRS_BUYO" NUMBER(15,
REM 5)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("QTY_TRNSB" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("QTY_TRNSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("AMT_TRNS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("DSC_TRNS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("LST_PRIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FRPC" MODIFY ("PRS_BUYO" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FRPC" ON "FRPC" ("COD_FACT" , "COD_ITEM"
, "QTY_TRNSB" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."FRPC" ADD CONSTRAINT "PK_FRPC" PRIMARY KEY
REM ("COD_FACT", "COD_ITEM", "QTY_TRNSB") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FSTD" ("NUM_FSTM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_FSTM" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEMF"
REM VARCHAR2(25), "COD_ITEM" VARCHAR2(20), "QTY_BUY" NUMBER(8, 0),
REM "UNT_BUY" VARCHAR2(3), "UNT_PRICE" NUMBER(15, 5), "DAT_FSTD"
REM VARCHAR2(8), "TIM_FSTD" VARCHAR2(6), "COD_FSTD" VARCHAR2(3),
REM "DSP_FSTD" VARCHAR2(40), "STS_FSTD" VARCHAR2(2), "POS_DEL"
REM VARCHAR2(8), "ADR_DEL" VARCHAR2(100), "REMARK" VARCHAR2(200),
REM "DAT_BPR" VARCHAR2(8), "COD_BPR" VARCHAR2(2), "DSP_BPR" VARCHAR2(50),
REM "QTY_BPR" NUMBER(8, 0), "PRS_BPR" NUMBER(15, 5), "DAT_DELR"
REM VARCHAR2(8), "NUM_REQ" VARCHAR2(12), "LIN_REQ" VARCHAR2(3),
REM "QTY_REQD" NUMBER(8, 0), "NUM_CSTM" VARCHAR2(12), "LIN_CSTM"
REM VARCHAR2(3), "CLS_TRN" VARCHAR2(2), "COD_CUST" VARCHAR2(10),
REM "COD_FACT" VARCHAR2(10), "DPT_CTL" VARCHAR2(8), "QTY_BROW" NUMBER(8,
REM 0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FSTD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FSTD" MODIFY ("UNT_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FSTD" MODIFY ("QTY_BPR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FSTD" MODIFY ("PRS_BPR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FSTD" MODIFY ("QTY_REQD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FSTD" MODIFY ("QTY_BROW" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FSTD" ON "FSTD" ("NUM_FSTM" , "LIN_FSTM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FSTD" ADD CONSTRAINT "PK_FSTD" PRIMARY KEY
REM ("NUM_FSTM", "LIN_FSTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FSTM" ("NUM_FSTM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_FSTM" VARCHAR2(8), "EMP_FSTM" VARCHAR2(8), "DPT_FSTM"
REM VARCHAR2(8), "DSP_FSTM" VARCHAR2(40), "CLS_FSTM" VARCHAR2(1),
REM "COD_FACT" VARCHAR2(10), "COD_ATTN" VARCHAR2(30), "NUM_TEL"
REM VARCHAR2(25), "COD_PAYM" VARCHAR2(3), "CLS_DOLLA" VARCHAR2(3),
REM "EMP_KEYIN" VARCHAR2(8), "EMP_SIGN" VARCHAR2(8), "POS_DEL"
REM VARCHAR2(8), "ADDR_DEL" VARCHAR2(100), "DAT_CONF" VARCHAR2(8),
REM "EMP_CONF" VARCHAR2(8), "REMARK" VARCHAR2(2000), "STS_FSTM"
REM VARCHAR2(2), "NUM_EDSM" VARCHAR2(12), "DAT_BPR" VARCHAR2(8),
REM "COD_BPR" VARCHAR2(2), "DSP_BPR" VARCHAR2(50), "NUM_EDIR"
REM VARCHAR2(10), "NUM_DPT" VARCHAR2(8), "DPT_CTL" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FSTM" ON "FSTM" ("NUM_FSTM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FSTM" ADD CONSTRAINT "PK_FSTM" PRIMARY KEY
REM ("NUM_FSTM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FTPD" ("COD_FTPM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_FTPM" VARCHAR2(2) NOT NULL ENABLE, "NAM_FTPD"
REM VARCHAR2(50), "TYP_FTPD" VARCHAR2(2), "SOU_FTPD" VARCHAR2(50),
REM "TIM_FTPD" VARCHAR2(12), "CON_FTPD" VARCHAR2(500), "COD_EXE"
REM VARCHAR2(8), "NUM_MVER" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FTPD" ON "FTPD" ("COD_FTPM" , "LIN_FTPM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FTPD" ADD CONSTRAINT "PK_FTPD" PRIMARY KEY
REM ("COD_FTPM", "LIN_FTPM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FTPM" ("COD_FTPM" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(8), "NUM_ONCA" VARCHAR2(12), "DAT_BEG"
REM VARCHAR2(8), "DAT_END" VARCHAR2(8), "REA_FTPM" VARCHAR2(100),
REM "TYP_FTPM" VARCHAR2(2), "PAT_FTPM" VARCHAR2(50), "EMP_FTPM"
REM VARCHAR2(5), "DAT_FTPM" VARCHAR2(8), "STS_FTPM" VARCHAR2(2), "REMARK"
REM VARCHAR2(100), "FLD_FUSER" VARCHAR2(10)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_FTPM" ON "FTPM" ("COD_FTPM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FTPM" ADD CONSTRAINT "PK_FTPM" PRIMARY KEY
REM ("COD_FTPM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."FTYPP" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_FACT" VARCHAR2(10) NOT NULL ENABLE, "LIN_FTYP"
REM VARCHAR2(4) NOT NULL ENABLE, "TYP_POLN" VARCHAR2(3), "COD_FDPT"
REM VARCHAR2(7), "COD_QUT" VARCHAR2(3), "CLS_LEV" VARCHAR2(3), "COD_IND"
REM VARCHAR2(4), "QTY_BEG" NUMBER(11, 3), "QTY_END" NUMBER(11, 3),
REM "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8), "COD_UNIT" VARCHAR2(3),
REM "PRS_CTYP" NUMBER(15, 5), "COD_DOLA" VARCHAR2(3), "PRS_CTYPO"
REM NUMBER(15, 5), "RAT_CTYP" NUMBER(9, 4), "REMARK" VARCHAR2(200),
REM "NUM_CNTL" VARCHAR2(16), "TYP_LEV1" VARCHAR2(12), "TYP_LEV2"
REM VARCHAR2(4), "TYP_LEV3" VARCHAR2(4), "CNT_ALL" NUMBER(3, 0),
REM "DPT_CTL" VARCHAR2(8), "PRS_TYPE" VARCHAR2(20), "EMP_INS"
REM VARCHAR2(8), "EMP_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8), "DAT_INS"
REM VARCHAR2(8), "NUM_CASE" VARCHAR2(16), "PS1" VARCHAR2(10), "PS2"
REM VARCHAR2(10), "PS3" VARCHAR2(200), "PS_N1" NUMBER(15, 5)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("QTY_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("QTY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("PRS_CTYP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("PRS_CTYPO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("RAT_CTYP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("CNT_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("PRS_TYPE" DEFAULT 'ALL') ;
REM ALTER TABLE "MFTEST"."FTYPP" MODIFY ("PS_N1" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_FTYPP" ON "FTYPP" ("COD_ITEM" ,
"COD_FACT" , "LIN_FTYP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_FTYPP" ON "FTYPP" ("COD_FACT" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."FTYPP" ADD CONSTRAINT "PK_FTYPP" PRIMARY KEY
REM ("COD_ITEM", "COD_FACT", "LIN_FTYP") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."GCCTEMP" ("STY" VARCHAR2(4) NOT NULL ENABLE,
REM "CODE" VARCHAR2(15), "STYCODE" VARCHAR2(12), "QTY" NUMBER(10, 2),
REM "TTLQTY" NUMBER(10, 2), "DIFFQTY" NUMBER(10, 2)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE INDEX "MFTEST"."GCC1" ON "GCCTEMP" ("STY" , "CODE" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM CREATE TABLE "MFTEST"."GPIF" ("GROUP_ID" VARCHAR2(8) NOT NULL ENABLE,
REM "GROUP_TYPE" VARCHAR2(1) NOT NULL ENABLE, "GROUP_DESC" VARCHAR2(20))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_GPIF" ON "GPIF" ("GROUP_ID" ,
"GROUP_TYPE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."GPIF" ADD CONSTRAINT "PK_GPIF" PRIMARY KEY
REM ("GROUP_ID", "GROUP_TYPE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."GROUPD" ("NUM_GP" NUMBER(3, 0) NOT NULL
REM ENABLE, "NUM_GPD" NUMBER(6, 0) NOT NULL ENABLE, "NUM_OBJ"
REM VARCHAR2(12)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_GROUPD" ON "GROUPD" ("NUM_GP" , "NUM_GPD"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."GROUPD" ADD CONSTRAINT "PK_GROUPD" PRIMARY KEY
REM ("NUM_GP", "NUM_GPD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."GROUPM" ("NUM_GP" NUMBER(3, 0) NOT NULL
REM ENABLE, "NAM_GP" VARCHAR2(50)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_GROUPM" ON "GROUPM" ("NUM_GP" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."GROUPM" ADD CONSTRAINT "PK_GROUPM" PRIMARY KEY
REM ("NUM_GP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."IDLE" ("DAT_CALC" VARCHAR2(8) NOT NULL ENABLE,
REM "SEQ_NO" VARCHAR2(8) NOT NULL ENABLE, "DPT_CTL" VARCHAR2(60),
REM "COD_ITEM" VARCHAR2(20), "DAY_LIST" VARCHAR2(30), "MNY_IDLE1"
REM NUMBER(17, 4), "QTY_IDLE1" NUMBER(14, 3), "MNY_IDLE2" NUMBER(17, 4),
REM "QTY_IDLE2" NUMBER(14, 3), "MNY_IDLE3" NUMBER(17, 4), "QTY_IDLE3"
REM NUMBER(14, 3), "MNY_IDLE4" NUMBER(17, 4), "QTY_IDLE4" NUMBER(14, 3),
REM "MNY_IDLE5" NUMBER(17, 4), "QTY_IDLE5" NUMBER(14, 3), "MNY_IDLE6"
REM NUMBER(17, 4), "QTY_IDLE6" NUMBER(14, 3), "MNY_IDLE7" NUMBER(17, 4),
REM "QTY_IDLE7" NUMBER(14, 3), "DAT_TRN" VARCHAR2(8), "EMP_TRN"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_IDLE" ON "IDLE" ("DAT_CALC" , "SEQ_NO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_IDLE" ON "IDLE" ("DAT_CALC" , "DPT_CTL" ,
"COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."IDLE" ADD CONSTRAINT "PK_IDLE" PRIMARY KEY
REM ("DAT_CALC", "SEQ_NO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."IHAND" ("NUM_HAND" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_MOVE" VARCHAR2(8), "STN_MOVE" VARCHAR2(8), "EMP_MOVE"
REM VARCHAR2(8), "TIM_MOVE" VARCHAR2(8), "COD_LOC" VARCHAR2(10),
REM "SER_PCS" VARCHAR2(20), "NUM_DSC" VARCHAR2(12), "COD_QC" VARCHAR2(2),
REM "COD_ITEM" VARCHAR2(20), "QTY_MOVE" NUMBER(11, 3), "NUM_ORD"
REM VARCHAR2(16), "ROT_ORD" VARCHAR2(2), "PS_N1" NUMBER(11, 3), "PS_N2"
REM NUMBER(11, 3), "PS_N3" NUMBER(11, 3), "PS_N4" NUMBER(11, 3), "REMARK"
REM VARCHAR2(200), "STN_RECV" VARCHAR2(8), "EMP_SING" VARCHAR2(5),
REM "DTM_SING" VARCHAR2(14), "STS_HAND" VARCHAR2(2), "QTY_RECV"
REM NUMBER(11, 3), "QTY_APLY" NUMBER(11, 3), "QTY_RTN" NUMBER(11, 3),
REM "COD_EGRP" VARCHAR2(4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("QTY_MOVE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("PS_N2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("PS_N3" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("PS_N4" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("QTY_RECV" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("QTY_APLY" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IHAND" MODIFY ("QTY_RTN" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_IHNAD" ON "IHAND" ("NUM_HAND" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."IHAND" ADD CONSTRAINT "PK_IHNAD" PRIMARY KEY
REM ("NUM_HAND") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."IMOV" ("DAT_MOVE" VARCHAR2(8) NOT NULL ENABLE,
REM "STN_MOVE" VARCHAR2(8) NOT NULL ENABLE, "EMP_MOVE" VARCHAR2(8) NOT
REM NULL ENABLE, "TIM_MOVE" VARCHAR2(9) NOT NULL ENABLE, "STN_RECV"
REM VARCHAR2(8), "EMP_RECV" VARCHAR2(8), "NUM_ORD" VARCHAR2(16),
REM "ROT_ORD" VARCHAR2(2), "COD_ITEM" VARCHAR2(20), "QTY_MOVE" NUMBER(11,
REM 3), "REMARK" VARCHAR2(200), "EMP_SING" VARCHAR2(8), "DAT_SING"
REM VARCHAR2(8), "TIM_SING" VARCHAR2(8), "STS_IMOV" VARCHAR2(2),
REM "COD_FACT" VARCHAR2(10), "CLS_GET" VARCHAR2(1), "NUM_BUY"
REM VARCHAR2(16), "LIN_BUY" VARCHAR2(3), "COD_FACTR" VARCHAR2(10),
REM "CLS_GETR" VARCHAR2(1), "NUM_BUYR" VARCHAR2(12), "LIN_BUYR"
REM VARCHAR2(3), "NUM_PS" VARCHAR2(12), "NUM_IMOV" VARCHAR2(12),
REM "COD_CUST" VARCHAR2(10), "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3),
REM "COD_QC" VARCHAR2(2), "COD_ITEMO" VARCHAR2(20), "PCS_MOVE" NUMBER(11,
REM 3), "NUM_BMOV" VARCHAR2(12), "LIN_BMOV" VARCHAR2(4)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."IMOV" MODIFY ("QTY_MOVE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMOV" MODIFY ("PCS_MOVE" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX3_IMOV" ON "IMOV" ("NUM_ORD" , "ROT_ORD" ,
"DAT_MOVE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_IMOV" ON "IMOV" ("CLS_GET" , "NUM_BUY" ,
"LIN_BUY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX2_IMOV" ON "IMOV" ("CLS_GETR" , "NUM_BUYR" ,
"LIN_BUYR" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_IMOV" ON "IMOV" ("DAT_MOVE" , "STN_MOVE"
, "EMP_MOVE" , "TIM_MOVE" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."IMOV" ADD CONSTRAINT "PK_IMOV" PRIMARY KEY
REM ("DAT_MOVE", "STN_MOVE", "EMP_MOVE", "TIM_MOVE") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."IMPINVD" ("NUM_IMPV" VARCHAR2(12) NOT NULL
REM ENABLE, "SEQ_IMPV" NUMBER(6, 0), "NUM_TCKET" VARCHAR2(25), "SEQ_INVM"
REM NUMBER(4, 0), "NAM_ITEM" VARCHAR2(80), "QTY_BOX" NUMBER(8, 0),
REM "QTY_RECV" NUMBER(12, 0), "PRS_BOX" NUMBER(16, 4), "AMT_INVM"
REM NUMBER(12, 0), "SEQ_FBAK" VARCHAR2(12), "UNT_STK" VARCHAR2(6),
REM "QTY_FREEB" NUMBER(8, 0), "QTY_FREER" NUMBER(8, 0), "AMT_DISC"
REM NUMBER(12, 0), "NUM_RCV" VARCHAR2(20), "BARCODE_B" VARCHAR2(12),
REM "COD_ITEMB" VARCHAR2(12), "ARG_ITEM" NUMBER(12, 0), "AMT_DIFF"
REM NUMBER(12, 0), "LIN_RCV" NUMBER(3, 0), "NUM_BUY" VARCHAR2(12),
REM "PRS_RCVD" NUMBER(16, 4), "PRS_CONF" NUMBER(16, 4), "STS_IMPV"
REM VARCHAR2(2), "STS_2RCVD" VARCHAR2(1), "DAT_2RCVD" VARCHAR2(8),
REM "EMP_2RCVD" VARCHAR2(8), "DAT_INS" VARCHAR2(8), "EMP_INS"
REM VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "EMP_CONF" VARCHAR2(8),
REM "DAT_2INVM" VARCHAR2(8), "EMP_2INVM" VARCHAR2(8), "DSC_DIFF"
REM VARCHAR2(1000), "CSEQ_INVM" VARCHAR2(4), "CLIN_RCV" VARCHAR2(3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("SEQ_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("QTY_BOX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("QTY_RECV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("PRS_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("AMT_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("QTY_FREEB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("QTY_FREER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("AMT_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("ARG_ITEM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("AMT_DIFF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("LIN_RCV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("PRS_RCVD" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."IMPINVD" MODIFY ("PRS_CONF" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_IMPINVD" ON "IMPINVD" ("NUM_IMPV" ,
"NUM_TCKET" , "SEQ_INVM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."IMPINVD" ADD CONSTRAINT "PK_IMPINVD" PRIMARY
REM KEY ("NUM_IMPV", "NUM_TCKET", "SEQ_INVM") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."IMPINVM" ("NUM_IMPV" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_TCKET" VARCHAR2(25), "TYP_TAXRAT" VARCHAR2(1),
REM "DAT_TCKET" VARCHAR2(8), "CHK_TCKET" VARCHAR2(10), "AMT_INVM"
REM NUMBER(14, 2), "CLS_INVM" VARCHAR2(2), "AMT_TAX" NUMBER(14, 2),
REM "AMT_DISC" NUMBER(14, 2), "NUM_REGB" VARCHAR2(8), "COD_FACTB"
REM VARCHAR2(20), "NUM_REGS" VARCHAR2(8), "COD_FACTS" VARCHAR2(20),
REM "RAT_TAX" NUMBER(12, 2), "TOT_INVM" NUMBER(14, 2), "TAX_HEALTH"
REM NUMBER(13, 2), "PS_BUY" VARCHAR2(1), "REAMRK" VARCHAR2(200), "PS_CST"
REM VARCHAR2(1), "PS_MRG" VARCHAR2(1), "PS_INVM" VARCHAR2(1), "AMT_DIFF"
REM NUMBER(14, 2), "STS_IMPV" VARCHAR2(2), "DAT_INS" VARCHAR2(8),
REM "EMP_INS" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("AMT_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("AMT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("AMT_DISC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("RAT_TAX" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("TOT_INVM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("TAX_HEALTH" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."IMPINVM" MODIFY ("AMT_DIFF" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_IMPINVM" ON "IMPINVM" ("NUM_IMPV" ,
"NUM_TCKET" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."IMPINVM" ADD CONSTRAINT "PK_IMPINVM" PRIMARY
REM KEY ("NUM_IMPV", "NUM_TCKET") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INSU" ("SEQ_INSU" VARCHAR2(14) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "COD_DESC" VARCHAR2(2000),
REM "COD_AREAF" VARCHAR2(5), "COD_AREAT" VARCHAR2(5), "COD_XFER"
REM VARCHAR2(2), "REMARK" VARCHAR2(20), "INS_TYPE" VARCHAR2(1), "NO_RECV"
REM VARCHAR2(8), "CLS_GET" VARCHAR2(1), "NUM_BUY" VARCHAR2(14), "LC_NO"
REM VARCHAR2(30), "COD_BANK" VARCHAR2(4), "ACNO_BANK" VARCHAR2(40),
REM "AMT_PO" NUMBER(17, 4), "COD_DOLA" VARCHAR2(3), "AMT_INS" NUMBER(12,
REM 4), "INS_DOLA" VARCHAR2(3), "INS_RATE" NUMBER(9, 4), "INS_DATE"
REM VARCHAR2(8), "INS_COMP" VARCHAR2(12), "INS_NO" VARCHAR2(16),
REM "STS_INS" VARCHAR2(2), "VAL_RATE" NUMBER(9, 4), "NUM_GETB"
REM VARCHAR2(20), "FEE_RATE" NUMBER(8, 4), "MNY_INS" NUMBER(17, 4),
REM "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4),
REM "PS1" VARCHAR2(200), "PS2" VARCHAR2(200), "PS3" VARCHAR2(200),
REM "UID_ADD" VARCHAR2(8), "DTM_ADD" VARCHAR2(16), "UID_UPD" VARCHAR2(8),
REM "DTM_UPD" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("AMT_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("INS_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("FEE_RATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INSU" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_INSU" ON "INSU" ("SEQ_INSU" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."INSU" ADD CONSTRAINT "PK_INSU" PRIMARY KEY
REM ("SEQ_INSU") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVA" ("NUM_INVM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_INVA" VARCHAR2(2) NOT NULL ENABLE, "COD_PLUS"
REM VARCHAR2(2), "COD_DOLA" VARCHAR2(3), "MNY_PLUS" NUMBER(11, 2),
REM "VAL_RATE" NUMBER(9, 4), "DSP_PS" VARCHAR2(200), "CLS_ARMM"
REM VARCHAR2(3), "DAT_ARMM" VARCHAR2(8), "COD_PAYM" VARCHAR2(2),
REM "TAX_TYPE" VARCHAR2(2), "NUM_ARMM" VARCHAR2(12), "LIN_ARMD"
REM VARCHAR2(3), "PS2" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INVA" MODIFY ("MNY_PLUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVA" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVA" ON "INVA" ("NUM_INVM" , "LIN_INVA"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."INVA" ADD CONSTRAINT "PK_INVA" PRIMARY KEY
REM ("NUM_INVM", "LIN_INVA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVCSF" ("NUM_INVM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_CSTF" VARCHAR2(3) NOT NULL ENABLE, "TYP_CSTF"
REM VARCHAR2(3), "IS_PLN" VARCHAR2(1), "COD_FACT" VARCHAR2(13),
REM "NUM_BILL" VARCHAR2(25), "DAT_BILL" VARCHAR2(8), "FACT_BILL"
REM VARCHAR2(10), "COD_DOLA" VARCHAR2(3), "VAL_RATE" NUMBER(9, 4),
REM "TAX_TYPE" VARCHAR2(2), "MNY_AMT" NUMBER(17, 4), "TOT_AMT" NUMBER(17,
REM 4), "MNY_AMTNT" NUMBER(17, 4), "TOT_AMTNT" NUMBER(17, 4), "SHR_CSTF"
REM VARCHAR2(2), "MNY_CHGM" NUMBER(17, 4), "TOT_CHGM" NUMBER(17, 4),
REM "NUM_CHGM" VARCHAR2(12), "LIN_CHGM" VARCHAR2(5), "REMARK"
REM VARCHAR2(2000), "PS2" VARCHAR2(100), "PS3" VARCHAR2(100), "EMP_KEYIN"
REM VARCHAR2(8), "CLS_ARMM" VARCHAR2(3), "NUM_ARMM" VARCHAR2(12),
REM "LIN_ARMD" VARCHAR2(5), "TYP_INVM" VARCHAR2(2), "CHK_PAYM"
REM VARCHAR2(2), "DAT_PLAN" VARCHAR2(8), "NUM_CASE" VARCHAR2(16),
REM "DPT_CTL" VARCHAR2(8), "COD_DEP" VARCHAR2(8), "DTM_KEYIN"
REM VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 2097152
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("TOT_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("MNY_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("TOT_AMTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("MNY_CHGM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSF" MODIFY ("TOT_CHGM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVCSF" ON "INVCSF" ("NUM_INVM" ,
"LIN_CSTF" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 327680
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."INVCSF" ADD CONSTRAINT "PK_INVCSF" PRIMARY KEY
REM ("NUM_INVM", "LIN_CSTF") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 327680 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVCSS" ("NUM_INVM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_INVM" VARCHAR2(4) NOT NULL ENABLE, "LIN_EVT" VARCHAR2(2)
REM NOT NULL ENABLE, "TYP_EVT" VARCHAR2(2), "DAT_EVT" VARCHAR2(8),
REM "MNY_SHR1" NUMBER(17, 4), "MNY_SHR2" NUMBER(17, 4), "MNY_SHR3"
REM NUMBER(17, 4), "MNY_SHR4" NUMBER(17, 4), "MNY_SHR5" NUMBER(17, 4),
REM "MNY_SHR6" NUMBER(17, 4), "MNY_SHR7" NUMBER(17, 4), "MNY_SHR8"
REM NUMBER(17, 4), "MNY_SHR9" NUMBER(17, 4), "MNY_SHRX" NUMBER(17, 4),
REM "REMARK" VARCHAR2(60), "DAT_PROC" VARCHAR2(8), "EMP_PROC"
REM VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR5" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR6" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR7" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR8" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHR9" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVCSS" MODIFY ("MNY_SHRX" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVCSS" ON "INVCSS" ("NUM_INVM" ,
"LIN_INVM" , "LIN_EVT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."INVCSS" ADD CONSTRAINT "PK_INVCSS" PRIMARY KEY
REM ("NUM_INVM", "LIN_INVM", "LIN_EVT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVD" ("NUM_INVM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_INVM" VARCHAR2(4) NOT NULL ENABLE, "NUM_DEL"
REM VARCHAR2(12), "LIN_DEL" VARCHAR2(3), "NUM_CUST" VARCHAR2(10),
REM "NUM_PO" VARCHAR2(16), "LIN_PO" VARCHAR2(3), "COD_ITEM" VARCHAR2(20),
REM "COD_ITEMO" VARCHAR2(30), "UNIT" VARCHAR2(3), "QTY_DEL" NUMBER(11,
REM 3), "MNY_UNIT" NUMBER(14, 5), "AMT_DELUS" NUMBER(13, 4), "VAL_RATE"
REM NUMBER(9, 4), "MNY_UNITNT" NUMBER(14, 5), "AMT_DEL" NUMBER(13, 4),
REM "BIL_INVM" VARCHAR2(2), "REMARK" VARCHAR2(2000), "PS2" VARCHAR2(100),
REM "CON_NUMC" VARCHAR2(12), "CON_ITEM" VARCHAR2(30), "NAM_ITEMS"
REM VARCHAR2(200), "DSC_ITEM" VARCHAR2(2000), "PRS_SND" NUMBER(14, 5),
REM "AMT_SND" NUMBER(17, 4), "PRS_CUST" NUMBER(14, 5), "AMT_CUST"
REM NUMBER(17, 4), "SRT_DRES" NUMBER(3, 0), "NUM_CASE" VARCHAR2(16),
REM "COD_TAXI" VARCHAR2(20), "RAT_TAXI" NUMBER(7, 3), "DOC_CONM"
REM VARCHAR2(20), "TYP_STAT" VARCHAR2(2), "PS3" VARCHAR2(100)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 28311552 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("QTY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("MNY_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("AMT_DELUS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("MNY_UNITNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("AMT_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("PRS_SND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("AMT_SND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("PRS_CUST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("AMT_CUST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("SRT_DRES" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVD" MODIFY ("RAT_TAXI" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_INVD" ON "INVD" ("NUM_DEL" , "LIN_DEL" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVD" ON "INVD" ("NUM_INVM" , "LIN_INVM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."INVD" ADD CONSTRAINT "PK_INVD" PRIMARY KEY
REM ("NUM_INVM", "LIN_INVM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 5242880 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVDP" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "DAT_BEG" VARCHAR2(8) NOT NULL ENABLE, "DAT_END" VARCHAR2(8)
REM NOT NULL ENABLE, "MNY_BEG" NUMBER(17, 4) NOT NULL ENABLE, "MNY_END"
REM NUMBER(17, 4) NOT NULL ENABLE, "RAT_MNY" NUMBER(6, 2), "DIR_MNY"
REM NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVDP" ON "INVDP" ("COD_CUST" , "DAT_BEG"
, "MNY_BEG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."INVDP" ADD CONSTRAINT "PK_INVDP" PRIMARY KEY
REM ("COD_CUST", "DAT_BEG", "MNY_BEG") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVINS" ("SEQ_INVS" VARCHAR2(14) NOT NULL
REM ENABLE, "NUM_INVM" VARCHAR2(20), "COD_ITEM" VARCHAR2(20), "INS_DATE"
REM VARCHAR2(8), "INS_COMP" VARCHAR2(12), "INS_NO" VARCHAR2(16),
REM "COD_XFER" VARCHAR2(2), "COD_DESC" VARCHAR2(2000), "COD_AREAF"
REM VARCHAR2(5), "COD_AREAT" VARCHAR2(5), "REMARK" VARCHAR2(20), "LC_NO"
REM VARCHAR2(30), "COD_DOLA" VARCHAR2(3), "AMT_PO" NUMBER(17, 4),
REM "VAL_RATE" NUMBER(9, 4), "FEE_RATE" NUMBER(8, 4), "MNY_INS"
REM NUMBER(17, 4), "INS_RATE" NUMBER(9, 4), "AMT_INS" NUMBER(12, 4),
REM "INS_DOLA" VARCHAR2(3), "STS_INVS" VARCHAR2(2), "PS1" VARCHAR2(200),
REM "PS2" VARCHAR2(200), "PS3" VARCHAR2(200), "PS_N1" NUMBER(17, 4),
REM "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4), "UID_ADD" VARCHAR2(8),
REM "DTM_ADD" VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("AMT_PO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("FEE_RATE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("INS_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("AMT_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVINS" MODIFY ("PS_N3" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVINS" ON "INVINS" ("SEQ_INVS" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."INVINS" ADD CONSTRAINT "PK_INVINS" PRIMARY KEY
REM ("SEQ_INVS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."INVM" ("NUM_INVM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(10), "DAT_INVM" VARCHAR2(8), "COD_QUT"
REM VARCHAR2(3), "LC_NO" VARCHAR2(30), "SHP_PER" VARCHAR2(40), "SHP_ABT"
REM VARCHAR2(40), "SHP_FROM" VARCHAR2(200), "SHP_TO" VARCHAR2(200),
REM "ACC_RISK" VARCHAR2(200), "SHP_MARK" VARCHAR2(2000), "SHP_VIA"
REM VARCHAR2(200), "SHP_TOT" VARCHAR2(200), "SHP_REMARK" VARCHAR2(2000),
REM "MNY_TRN" NUMBER(12, 4), "MNY_INS" NUMBER(12, 4), "VESSEL"
REM VARCHAR2(60), "CLS_DATE" VARCHAR2(8), "FORWARD" VARCHAR2(200),
REM "TEL_FORW" VARCHAR2(100), "SO_NO" VARCHAR2(20), "PLN_DATE"
REM VARCHAR2(8), "INV_OF" VARCHAR2(2000), "COD_ADDR" VARCHAR2(8),
REM "DAT_SND" VARCHAR2(8), "NUM_SND" VARCHAR2(20), "RAT_SND" NUMBER(9,
REM 4), "DOC_SND" VARCHAR2(18), "COD_TRAD" VARCHAR2(2), "DPT_CTL"
REM VARCHAR2(8), "MANUFACTU" VARCHAR2(60), "CONSIGNEE" VARCHAR2(200),
REM "COD_DOLA" VARCHAR2(3), "EMP_KEYIN" VARCHAR2(8), "DTM_KEYIN"
REM VARCHAR2(16), "EMP_TRN" VARCHAR2(8), "DTM_TRN" VARCHAR2(16), "PS1"
REM VARCHAR2(2000), "PS2" VARCHAR2(2000), "PS3" VARCHAR2(2000), "PS_N1"
REM NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4),
REM "GRP_INVM" VARCHAR2(20), "COD_XFER" VARCHAR2(2), "TYP_DECL"
REM VARCHAR2(2), "TYP_STAT" VARCHAR2(2), "PS_N4" NUMBER(17, 4)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 5242880
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("MNY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("MNY_INS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("RAT_SND" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."INVM" MODIFY ("PS_N4" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_INVM" ON "INVM" ("NUM_INVM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."INVM" ADD CONSTRAINT "PK_INVM" PRIMARY KEY
REM ("NUM_INVM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITCH" ("NUM_ITCH" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "UNT_OLD"
REM VARCHAR2(3), "QTY_OLD" NUMBER(11, 3), "LOC_OLD" VARCHAR2(10),
REM "QC_OLD" VARCHAR2(2), "PRS_OLD" NUMBER(14, 4), "CST_OLD" NUMBER(17,
REM 4), "COD_ITEMN" VARCHAR2(20) NOT NULL ENABLE, "UNT_NEW" VARCHAR2(3),
REM "QTY_NEW" NUMBER(11, 3), "LOC_NEW" VARCHAR2(10), "QC_NEW"
REM VARCHAR2(2), "PRS_NEW" NUMBER(14, 4), "CST_NEW" NUMBER(17, 4),
REM "DAT_ITCH" VARCHAR2(8), "TIM_ITCH" VARCHAR2(10), "EMP_ITCH"
REM VARCHAR2(8), "SER_PCSO" VARCHAR2(20), "SER_PCSN" VARCHAR2(20))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITCH" MODIFY ("QTY_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITCH" MODIFY ("PRS_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITCH" MODIFY ("CST_OLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITCH" MODIFY ("QTY_NEW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITCH" MODIFY ("PRS_NEW" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITCH" MODIFY ("CST_NEW" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITCH" ON "ITCH" ("NUM_ITCH" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITCH" ADD CONSTRAINT "PK_ITCH" PRIMARY KEY
REM ("NUM_ITCH") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITEM" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "NAM_ITEM" VARCHAR2(80), "NAM_ITEMS" VARCHAR2(80),
REM "MNY_PRICS" NUMBER(14, 4), "MNY_PRSB" NUMBER(14, 4), "MNY_PRSO"
REM NUMBER(14, 4), "MNY_COST" NUMBER(14, 4), "UNT_STK" VARCHAR2(3),
REM "CLS_ITEM" VARCHAR2(1), "TYP_ITEM" VARCHAR2(4), "CLS_PROD"
REM VARCHAR2(2), "CLS_ACC" VARCHAR2(1), "DAT_EFF" NUMBER(4, 0),
REM "DSC_SIZE" VARCHAR2(20), "WGT_UNIT" NUMBER(14, 6), "CHR_GOODS"
REM VARCHAR2(5), "MATERIAL" NUMBER(10, 3), "COD_QC" VARCHAR2(2),
REM "DSC_ITEM" VARCHAR2(2000), "PIC_ITEM1" VARCHAR2(30), "PIC_ITEM2"
REM VARCHAR2(30), "WAY_DIST" VARCHAR2(1), "QTY_MIN_S" NUMBER(6, 0),
REM "QTY_ALM_S" NUMBER(12, 4), "QTY_SAFE" NUMBER(12, 4), "QTY_CUSE"
REM NUMBER(12, 3), "QTY_CNTL" NUMBER(12, 3), "QTY_STK" NUMBER(12, 3),
REM "QTY_CUSEC" NUMBER(12, 3), "QTY_CNTLC" NUMBER(12, 3), "QTY_STKC"
REM NUMBER(12, 3), "QTY_CUSEB" NUMBER(12, 3), "QTY_CNTLB" NUMBER(12, 3),
REM "QTY_STKB" NUMBER(12, 3), "QTY_CUSEO" NUMBER(12, 3), "QTY_CNTLO"
REM NUMBER(12, 3), "QTY_STKO" NUMBER(12, 3), "QTY_TOTAL" NUMBER(12, 3),
REM "QTY_OTHER" NUMBER(8, 0), "DAT_FILE" VARCHAR2(8), "DAY_DEL" NUMBER(3,
REM 0), "COD_ENV_P" VARCHAR2(1), "COD_MNY" VARCHAR2(3), "CLS_GET"
REM VARCHAR2(1), "LLC" NUMBER(2, 0), "CLS_LEV" VARCHAR2(1), "COD_VER"
REM VARCHAR2(12), "DAT_VER" VARCHAR2(8), "COD_TAXI" VARCHAR2(15),
REM "COD_MAKR" VARCHAR2(10), "NUM_FILE" VARCHAR2(30), "NUM_CNTL"
REM VARCHAR2(16), "DAT_USET" VARCHAR2(8), "TYP_LEV1" VARCHAR2(12),
REM "TYP_LEV2" VARCHAR2(4), "TYP_LEV3" VARCHAR2(4), "CST_PRICS"
REM NUMBER(17, 4), "CST_PRSB" NUMBER(17, 4), "CST_PRSO" NUMBER(17, 4),
REM "CST_TOTAL" NUMBER(17, 4), "CST_STD" NUMBER(14, 4), "COD_SIT"
REM VARCHAR2(10), "EMP_FILE" VARCHAR2(8), "PAK_PS" VARCHAR2(200),
REM "COD_LOC" VARCHAR2(10), "CST_MONAG" NUMBER(14, 4), "COD_MODL"
REM VARCHAR2(15), "DAY_MRP" NUMBER(3, 0), "DEC_ITEM" NUMBER(1, 0),
REM "TAX_TYPE" VARCHAR2(2), "PRS_SECU" NUMBER(14, 4), "XFR_COST"
REM NUMBER(14, 4), "DAT_LAST" VARCHAR2(8), "PRO_TAX" VARCHAR2(1),
REM "TYP_LEV4" VARCHAR2(4), "TYP_LEV5" VARCHAR2(4), "STS_ITM"
REM VARCHAR2(2), "BARCODE" VARCHAR2(20), "PM_ITEM" VARCHAR2(8),
REM "QTY_PACK" NUMBER(12, 3), "TYP_AQL" VARCHAR2(3), "STD_AQL"
REM VARCHAR2(2), "CON_ITEM" VARCHAR2(30), "PS_C1" VARCHAR2(200), "PS_C2"
REM VARCHAR2(30), "PS_C3" VARCHAR2(30), "PS_C4" VARCHAR2(30), "PS_C5"
REM VARCHAR2(30), "PS_C6" VARCHAR2(30), "PS_C7" VARCHAR2(30), "PS_N1"
REM NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4),
REM "SUPY_ROLL" VARCHAR2(1), "DAT_SALED" VARCHAR2(8), "EMP_USET"
REM VARCHAR2(8), "YN_LEFTOV" VARCHAR2(1), "RAT_PROD" NUMBER(6, 2),
REM "ITEM_BROW" VARCHAR2(20), "ITEM_QC" VARCHAR2(20), "TYP_PKST"
REM VARCHAR2(2), "CLS_PKST" VARCHAR2(2), "LEV_OPUM" VARCHAR2(2),
REM "NUM_ITMC" VARCHAR2(20), "CLS_LCM" VARCHAR2(3), "PS_C8"
REM VARCHAR2(100), "RAT_OVDEL" NUMBER(6, 3), "UID_ADD" VARCHAR2(8),
REM "TMP_ITEM" VARCHAR2(20), "QTY_PBATCH" NUMBER(12, 3), "QTY_PRANG"
REM NUMBER(12, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 14680064 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("MNY_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("MNY_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("MNY_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("MNY_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("WGT_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_MIN_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_ALM_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_SAFE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CUSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CNTL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CUSEC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CNTLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_STKC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CUSEB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CNTLB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_STKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CUSEO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_CNTLO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_STKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_TOTAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_OTHER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("LLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("CST_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("CST_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("CST_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("CST_TOTAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("CST_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("CST_MONAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("DAY_MRP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("DEC_ITEM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("PRS_SECU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("XFR_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_PACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("RAT_PROD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("RAT_OVDEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_PBATCH" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITEM" MODIFY ("QTY_PRANG" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IDX2_ITEM" ON "ITEM" ("CLS_ACC" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 3145728 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITEM" ON "ITEM" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_ITEM" ON "ITEM" ("BARCODE" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITEM" ON "ITEM" ("TYP_ITEM" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_ITEM" ON "ITEM" ("CLS_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 720896 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITEM" ADD CONSTRAINT "PK_ITEM" PRIMARY KEY
REM ("COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITEM_POS" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "NAM_ITEM" VARCHAR2(40), "NAM_ITEMS" VARCHAR2(60),
REM "MNY_PRICS" NUMBER(14, 4), "MNY_PRSB" NUMBER(14, 4), "MNY_PRSO"
REM NUMBER(14, 4), "MNY_COST" NUMBER(14, 4), "UNT_STK" VARCHAR2(3),
REM "CLS_ITEM" VARCHAR2(1), "TYP_ITEM" VARCHAR2(4), "CLS_PROD"
REM VARCHAR2(2), "CLS_ACC" VARCHAR2(1), "DAT_EFF" NUMBER(4, 0),
REM "DSC_SIZE" VARCHAR2(20), "WGT_UNIT" NUMBER(14, 6), "CHR_GOODS"
REM VARCHAR2(5), "MATERIAL" NUMBER(10, 3), "COD_QC" VARCHAR2(2),
REM "DSC_ITEM" VARCHAR2(2000), "PIC_ITEM1" VARCHAR2(30), "PIC_ITEM2"
REM VARCHAR2(30), "WAY_DIST" VARCHAR2(1), "QTY_MIN_S" NUMBER(6, 0),
REM "QTY_ALM_S" NUMBER(8, 0), "QTY_SAFE" NUMBER(8, 0), "QTY_CUSE"
REM NUMBER(12, 3), "QTY_CNTL" NUMBER(12, 3), "QTY_STK" NUMBER(12, 3),
REM "QTY_CUSEC" NUMBER(12, 3), "QTY_CNTLC" NUMBER(12, 3), "QTY_STKC"
REM NUMBER(12, 3), "QTY_CUSEB" NUMBER(12, 3), "QTY_CNTLB" NUMBER(12, 3),
REM "QTY_STKB" NUMBER(12, 3), "QTY_CUSEO" NUMBER(12, 3), "QTY_CNTLO"
REM NUMBER(12, 3), "QTY_STKO" NUMBER(12, 3), "QTY_TOTAL" NUMBER(12, 3),
REM "QTY_OTHER" NUMBER(8, 0), "DAT_FILE" VARCHAR2(8), "DAY_DEL" NUMBER(3,
REM 0), "COD_ENV_P" VARCHAR2(1), "COD_MNY" VARCHAR2(3), "CLS_GET"
REM VARCHAR2(1), "LLC" NUMBER(2, 0), "CLS_LEV" VARCHAR2(1), "COD_VER"
REM VARCHAR2(12), "DAT_VER" VARCHAR2(8), "COD_TAXI" VARCHAR2(15),
REM "COD_MAKR" VARCHAR2(10), "NUM_FILE" VARCHAR2(30), "NUM_CNTL"
REM VARCHAR2(16), "DAT_USET" VARCHAR2(8), "TYP_LEV1" VARCHAR2(4),
REM "TYP_LEV2" VARCHAR2(4), "TYP_LEV3" VARCHAR2(4), "CST_PRICS"
REM NUMBER(17, 4), "CST_PRSB" NUMBER(17, 4), "CST_PRSO" NUMBER(17, 4),
REM "CST_TOTAL" NUMBER(17, 4), "CST_STD" NUMBER(14, 4), "COD_SIT"
REM VARCHAR2(10), "EMP_FILE" VARCHAR2(8), "PAK_PS" VARCHAR2(200),
REM "COD_LOC" VARCHAR2(10), "CST_MONAG" NUMBER(14, 4), "COD_MODL"
REM VARCHAR2(15), "DAY_MRP" NUMBER(3, 0), "DEC_ITEM" NUMBER(1, 0),
REM "TAX_TYPE" VARCHAR2(2), "PRS_SECU" NUMBER(14, 4), "XFR_COST"
REM NUMBER(14, 4), "DAT_LAST" VARCHAR2(8), "PRO_TAX" VARCHAR2(1),
REM "TYP_LEV4" VARCHAR2(4), "TYP_LEV5" VARCHAR2(4), "BARCODE"
REM VARCHAR2(20), "PM_ITEM" VARCHAR2(8), "STS_ITM" VARCHAR2(2),
REM "QTY_PACK" NUMBER(12, 3), "TYP_AQL" VARCHAR2(3), "STD_AQL"
REM VARCHAR2(2), "CON_ITEM" VARCHAR2(30), "PS_C1" VARCHAR2(20), "PS_C2"
REM VARCHAR2(10), "PS_C3" VARCHAR2(10), "PS_C4" VARCHAR2(4), "PS_C5"
REM VARCHAR2(4), "PS_C6" VARCHAR2(4), "PS_C7" VARCHAR2(4), "PS_N1"
REM NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4),
REM "SUPY_ROLL" VARCHAR2(1), "EMP_USET" VARCHAR2(8), "YN_LEFTOV"
REM VARCHAR2(1), "RAT_PROD" NUMBER(6, 2), "ITEM_BROW" VARCHAR2(20),
REM "DAT_SALED" VARCHAR2(8), "ITEM_QC" VARCHAR2(20), "TYP_PKST"
REM VARCHAR2(2), "CLS_PKST" VARCHAR2(2), "LEV_OPUM" VARCHAR2(2),
REM "NUM_ITMC" VARCHAR2(20)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("MNY_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("MNY_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("MNY_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("MNY_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("WGT_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_MIN_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_ALM_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_SAFE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CUSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CNTL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CUSEC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CNTLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_STKC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CUSEB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CNTLB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_STKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CUSEO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_CNTLO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_STKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_TOTAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_OTHER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("LLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("CST_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("CST_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("CST_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("CST_TOTAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("CST_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("CST_MONAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("DAY_MRP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("DEC_ITEM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("PRS_SECU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("XFR_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("QTY_PACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITEM_POS" MODIFY ("RAT_PROD" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITEM_POS" ON "ITEM_POS" ("COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITEM_POS" ADD CONSTRAINT "PK_ITEM_POS" PRIMARY
REM KEY ("COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMBOS" ("NUM_IBOS" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "DAT_BEG" VARCHAR2(8), "DAT_END"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(8), "COD_IND" VARCHAR2(4), "LEV_CUST"
REM VARCHAR2(3), "CST_SYS" VARCHAR2(8), "TYP_POLN" VARCHAR2(3), "CLS_LEV"
REM VARCHAR2(3), "DAT_EFFP" VARCHAR2(8), "QTY_BEG" NUMBER(11, 3),
REM "QTY_END" NUMBER(11, 3), "MNY_BEG" NUMBER(11, 3), "MNY_END"
REM NUMBER(11, 3), "PAY_SIGN" NUMBER(11, 3), "QTY_WEIGHT" NUMBER(11, 3),
REM "MNY_WEIGHT" NUMBER(13, 5), "CNT_ALL" NUMBER(3, 0), "PS1"
REM VARCHAR2(600), "PS2" VARCHAR2(600), "PS_N1" NUMBER(17, 4), "PS_N2"
REM NUMBER(17, 4), "STS_IBOS" VARCHAR2(2), "DAT_UPD" VARCHAR2(8),
REM "EMP_UPD" VARCHAR2(8), "DAT_CONF" VARCHAR2(8), "EMP_CONF"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("QTY_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("QTY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("MNY_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("MNY_END" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("PAY_SIGN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("QTY_WEIGHT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("MNY_WEIGHT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("CNT_ALL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMBOS" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMBOS" ON "ITMBOS" ("NUM_IBOS" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITMBOS" ON "ITMBOS" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMBOS" ADD CONSTRAINT "PK_ITMBOS" PRIMARY KEY
REM ("NUM_IBOS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMC" ("NUM_ITMC" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "NAM_ITEM"
REM VARCHAR2(80), "NAM_ITEMS" VARCHAR2(80), "BARCODE" VARCHAR2(20),
REM "CON_ITEM" VARCHAR2(30), "CST_STD" NUMBER(14, 4), "MNY_COST"
REM NUMBER(14, 4), "UNT_STK" VARCHAR2(3), "CLS_ITEM" VARCHAR2(1),
REM "TYP_ITEM" VARCHAR2(4), "CLS_PROD" VARCHAR2(2), "CLS_ACC"
REM VARCHAR2(1), "DAT_EFF" NUMBER(4, 0), "DSC_SIZE" VARCHAR2(20),
REM "WGT_UNIT" NUMBER(14, 6), "MATERIAL" NUMBER(10, 3), "CHR_GOODS"
REM VARCHAR2(5), "DSC_ITEM" VARCHAR2(2000), "PIC_ITEM1" VARCHAR2(30),
REM "PIC_ITEM2" VARCHAR2(30), "WAY_DIST" VARCHAR2(1), "QTY_MIN_S"
REM NUMBER(6, 0), "QTY_ALM_S" NUMBER(8, 0), "QTY_SAFE" NUMBER(8, 0),
REM "DAT_FILE" VARCHAR2(8), "DAY_DEL" NUMBER(3, 0), "COD_ENV_P"
REM VARCHAR2(1), "COD_MNY" VARCHAR2(3), "CLS_GET" VARCHAR2(1), "LLC"
REM NUMBER(2, 0), "CLS_LEV" VARCHAR2(1), "COD_MODL" VARCHAR2(15),
REM "COD_VER" VARCHAR2(12), "DAT_VER" VARCHAR2(8), "COD_TAXI"
REM VARCHAR2(15), "COD_MAKR" VARCHAR2(10), "COD_SIT" VARCHAR2(10),
REM "NUM_FILE" VARCHAR2(30), "NUM_CNTL" VARCHAR2(16), "DAT_USET"
REM VARCHAR2(8), "EMP_USET" VARCHAR2(8), "DAT_SALED" VARCHAR2(8),
REM "TYP_LEV1" VARCHAR2(12), "TYP_LEV2" VARCHAR2(4), "TYP_LEV3"
REM VARCHAR2(4), "TYP_LEV4" VARCHAR2(4), "TYP_LEV5" VARCHAR2(4), "PAK_PS"
REM VARCHAR2(200), "COD_LOC" VARCHAR2(10), "DAY_MRP" NUMBER(3, 0),
REM "DEC_ITEM" NUMBER(1, 0), "QTY_PACK" NUMBER(12, 3), "SUPY_ROLL"
REM VARCHAR2(1), "YN_LEFTOV" VARCHAR2(1), "RAT_PROD" NUMBER(6, 2),
REM "LEV_OPUM" VARCHAR2(2), "TAX_TYPE" VARCHAR2(2), "PRO_TAX"
REM VARCHAR2(1), "PRS_SECU" NUMBER(14, 4), "XFR_COST" NUMBER(14, 4),
REM "PM_ITEM" VARCHAR2(8), "STS_ITM" VARCHAR2(2), "TYP_AQL" VARCHAR2(3),
REM "STD_AQL" VARCHAR2(2), "PS_C1" VARCHAR2(30), "PS_C2" VARCHAR2(30),
REM "PS_C3" VARCHAR2(30), "PS_C4" VARCHAR2(30), "PS_C5" VARCHAR2(30),
REM "PS_C6" VARCHAR2(30), "PS_C7" VARCHAR2(30), "PS_N1" NUMBER(17, 4),
REM "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4), "ITEM_BROW"
REM VARCHAR2(20), "ITEM_QC" VARCHAR2(20), "TYP_PKST" VARCHAR2(2),
REM "CLS_PKST" VARCHAR2(2), "EMP_FILE" VARCHAR2(8), "DAT_LAST"
REM VARCHAR2(8), "RSN_ITMC" VARCHAR2(2), "DSC_RSN" VARCHAR2(200),
REM "UID_ITMC" VARCHAR2(8), "DAT_ITMC" VARCHAR2(8), "STS_ITMC"
REM VARCHAR2(2), "EMP_CONF" VARCHAR2(8), "DAT_CONF" VARCHAR2(8),
REM "EMP_2ITEM" VARCHAR2(8), "DAT_2ITEM" VARCHAR2(8), "CST_MONAG"
REM NUMBER(14, 4), "MNY_PRICS" NUMBER(14, 4), "MNY_PRSB" NUMBER(14, 4),
REM "MNY_PRSO" NUMBER(14, 4), "CST_PRICS" NUMBER(17, 4), "CST_PRSB"
REM NUMBER(17, 4), "CST_PRSO" NUMBER(17, 4), "CST_TOTAL" NUMBER(17, 4),
REM "QTY_CUSE" NUMBER(12, 3), "QTY_CNTL" NUMBER(12, 3), "QTY_STK"
REM NUMBER(12, 3), "QTY_CUSEC" NUMBER(12, 3), "QTY_CNTLC" NUMBER(12, 3),
REM "QTY_STKC" NUMBER(12, 3), "QTY_CUSEB" NUMBER(12, 3), "QTY_CNTLB"
REM NUMBER(12, 3), "QTY_STKB" NUMBER(12, 3), "QTY_CUSEO" NUMBER(12, 3),
REM "QTY_CNTLO" NUMBER(12, 3), "QTY_STKO" NUMBER(12, 3), "QTY_TOTAL"
REM NUMBER(12, 3), "QTY_OTHER" NUMBER(8, 0)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("CST_STD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("MNY_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("DAT_EFF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("WGT_UNIT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("MATERIAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_MIN_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_ALM_S" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_SAFE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("DAY_DEL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("LLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("DAY_MRP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("DEC_ITEM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_PACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("RAT_PROD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("PRS_SECU" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("XFR_COST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("CST_MONAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("MNY_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("MNY_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("MNY_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("CST_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("CST_PRSB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("CST_PRSO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("CST_TOTAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CUSE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CNTL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CUSEC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CNTLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_STKC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CUSEB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CNTLB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_STKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CUSEO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_CNTLO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_STKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_TOTAL" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMC" MODIFY ("QTY_OTHER" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMC" ON "ITMC" ("NUM_ITMC" , "COD_ITEM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITMC" ON "ITMC" ("COD_ITEM" , "NUM_ITMC" ,
"DAT_ITMC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ITMC" ADD CONSTRAINT "PK_ITMC" PRIMARY KEY
REM ("NUM_ITMC", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMGC" ("NUM_ITGC" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "FLD_ITGC" VARCHAR2(20), "OLD_DATA"
REM VARCHAR2(60), "NEW_DATA" VARCHAR2(60), "DAT_EFF" VARCHAR2(8),
REM "EMP_INS" VARCHAR2(8), "DAT_INS" VARCHAR2(8), "EMP_UPD" VARCHAR2(8),
REM "DAT_UPD" VARCHAR2(8), "EMP_PROC" VARCHAR2(8), "DAT_PROC"
REM VARCHAR2(8), "REMARK" VARCHAR2(600), "STS_ITGC" VARCHAR2(2)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMGC" ON "ITMGC" ("NUM_ITGC" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITMGC" ON "ITMGC" ("DAT_EFF" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMGC" ADD CONSTRAINT "PK_ITMGC" PRIMARY KEY
REM ("NUM_ITGC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMGM" ("GRP_ITMS" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_ITMS" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20), "TYP_ITMS" VARCHAR2(3), "UNT_STK" VARCHAR2(3),
REM "VAL_BEG" NUMBER(10, 2), "BAL_END" NUMBER(10, 2)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMGM" MODIFY ("VAL_BEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMGM" MODIFY ("BAL_END" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMGM" ON "ITMGM" ("GRP_ITMS" ,
"LIN_ITMS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ITMGM" ADD CONSTRAINT "PK_ITMGM" PRIMARY KEY
REM ("GRP_ITMS", "LIN_ITMS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMGQ" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "GRP_ITMS" VARCHAR2(12) NOT NULL ENABLE, "SER_PCS"
REM VARCHAR2(20) NOT NULL ENABLE, "QTY_STK" NUMBER(12, 3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMGQ" MODIFY ("QTY_STK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMGQ" ON "ITMGQ" ("COD_ITEM" ,
"GRP_ITMS" , "SER_PCS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMGQ" ADD CONSTRAINT "PK_ITMGQ" PRIMARY KEY
REM ("COD_ITEM", "GRP_ITMS", "SER_PCS") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMGT" ("NUM_IO" VARCHAR2(12) NOT NULL ENABLE,
REM "TYP_IO" VARCHAR2(1), "CLS_TRN" VARCHAR2(2), "CLS_GET" VARCHAR2(1),
REM "NUM_TRN" VARCHAR2(12), "LIN_TRN" VARCHAR2(4), "COD_FACT"
REM VARCHAR2(14), "COD_ITEM" VARCHAR2(20), "GRP_ITMS" VARCHAR2(12),
REM "SER_PCS" VARCHAR2(20), "QTY_TRN" NUMBER(12, 3), "DAT_TRN"
REM VARCHAR2(8), "TIM_TRN" VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMGT" MODIFY ("QTY_TRN" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMGT" ON "ITMGT" ("NUM_IO" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMGT" ADD CONSTRAINT "PK_ITMGT" PRIMARY KEY
REM ("NUM_IO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMHUR" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "SEQ_HUR" NUMBER(6, 0) NOT NULL ENABLE, "STN_WORK"
REM VARCHAR2(8), "HUR_NEED" NUMBER(13, 6), "QTY_PACK" NUMBER(12, 3),
REM "NUM_HUR" VARCHAR2(20) NOT NULL ENABLE, "LIN_HUR" NUMBER(6, 0) NOT
REM NULL ENABLE, "QTY_PBEG" NUMBER(12, 3), "QTY_PEND" NUMBER(12, 3))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMHUR" MODIFY ("HUR_NEED" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMHUR" MODIFY ("QTY_PACK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMHUR" MODIFY ("QTY_PBEG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMHUR" MODIFY ("QTY_PEND" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMHUR" ON "ITMHUR" ("NUM_HUR" ,
"LIN_HUR" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITMHUR" ON "ITMHUR" ("COD_ITEM" , "SEQ_HUR" ,
"STN_WORK" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ITMHUR" ADD CONSTRAINT "PK_ITMHUR" PRIMARY KEY
REM ("NUM_HUR", "LIN_HUR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMLCM" ("MRK_YRMON" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "CLS_ITEM"
REM VARCHAR2(1), "CLS_ACC" VARCHAR2(1), "RAT_MRKT" NUMBER(6, 3),
REM "QTY_STK" NUMBER(15, 5), "MNY_STK" NUMBER(15, 5), "PRS_ARG"
REM NUMBER(15, 5), "CST_MONG" NUMBER(15, 5), "DAT_PREDEL" VARCHAR2(8),
REM "LCM_PRSIDX" VARCHAR2(2), "PRS_MRKT" NUMBER(15, 5), "NPV_LCM"
REM NUMBER(15, 5), "MNY_LOSE" NUMBER(15, 5), "PRS_REMARK" VARCHAR2(500),
REM "DAT_PROC" VARCHAR2(8), "UID_PROC" VARCHAR2(8), "COD_QC" VARCHAR2(3),
REM "TIM_PROC" VARCHAR2(8), "QTY_RANG1" NUMBER(15, 5), "MNY_RANG1"
REM NUMBER(15, 5), "QTY_RANG2" NUMBER(15, 5), "MNY_RANG2" NUMBER(15, 5),
REM "QTY_RANG3" NUMBER(15, 5), "MNY_RANG3" NUMBER(15, 5), "QTY_RANG4"
REM NUMBER(15, 5), "MNY_RANG4" NUMBER(15, 5), "QTY_RANG5" NUMBER(15, 5),
REM "MNY_RANG5" NUMBER(15, 5)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("RAT_MRKT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("QTY_STK" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_STK" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("PRS_ARG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("CST_MONG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("PRS_MRKT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("NPV_LCM" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_LOSE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("COD_QC" DEFAULT 'ALL' ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("QTY_RANG1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_RANG1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("QTY_RANG2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_RANG2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("QTY_RANG3" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_RANG3" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("QTY_RANG4" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_RANG4" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("QTY_RANG5" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."ITMLCM" MODIFY ("MNY_RANG5" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMLCM" ON "ITMLCM" ("MRK_YRMON" ,
"COD_ITEM" , "COD_QC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMLCM" ADD CONSTRAINT "PK_ITMLCM" PRIMARY KEY
REM ("MRK_YRMON", "COD_ITEM", "COD_QC") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMP" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "SEQ_ITEM" NUMBER(4, 0) NOT NULL ENABLE, "NUM_NATP"
REM VARCHAR2(16), "DAT_EFF" VARCHAR2(8), "DAT_SEND" VARCHAR2(8),
REM "DAT_CONF" VARCHAR2(8), "STS_ITMP" VARCHAR2(2), "DTM_UPD"
REM VARCHAR2(16), "EMP_UPD" VARCHAR2(8), "PS1" VARCHAR2(200), "PS2"
REM VARCHAR2(200), "N_PS" NUMBER(17, 4), "DOC_CONM" VARCHAR2(20),
REM "DTM_MAIL" VARCHAR2(16), "DTM_ANSC" VARCHAR2(16), "NAM_ANSC"
REM VARCHAR2(20), "STS_MPAS" VARCHAR2(2), "DAT_ORGSND" VARCHAR2(8),
REM "DAT_ORGCOF" VARCHAR2(8), "DAT_CSTSND" VARCHAR2(8), "DAT_CSTCOF"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMP" MODIFY ("N_PS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMP" ON "ITMP" ("COD_ITEM" , "SEQ_ITEM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_ITMP" ON "ITMP" ("COD_ITEM" ,
"NUM_NATP" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ITMP" ADD CONSTRAINT "PK_ITMP" PRIMARY KEY
REM ("COD_ITEM", "SEQ_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMPAS" ("NUM_MPAS" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "NUM_NATP" VARCHAR2(16), "DOC_CONM"
REM VARCHAR2(20), "STS_MPAS" VARCHAR2(2), "DTM_MPAS" VARCHAR2(16),
REM "MAN_MPAS" VARCHAR2(20), "DSC_MPAS" VARCHAR2(2000), "FILE_MPAS"
REM VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMPAS" ON "ITMPAS" ("NUM_MPAS" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITMPAS" ON "ITMPAS" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMPAS" ADD CONSTRAINT "PK_ITMPAS" PRIMARY KEY
REM ("NUM_MPAS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMPDC" ("NUM_MPDC" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "NUM_NATP" VARCHAR2(16), "DOC_CONM"
REM VARCHAR2(20), "EMP_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMPDC" ON "ITMPDC" ("NUM_MPDC" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_ITMPDC" ON "ITMPDC" ("COD_ITEM" ,
"NUM_NATP" , "DOC_CONM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMPDC" ADD CONSTRAINT "PK_ITMPDC" PRIMARY KEY
REM ("NUM_MPDC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMPML" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "SEQ_NO" VARCHAR2(2) NOT NULL ENABLE, "NAM_ATTN"
REM VARCHAR2(30), "TYP_ATTN" VARCHAR2(30), "EMAIL" VARCHAR2(100),
REM "NUM_FAX" VARCHAR2(25), "NUM_MOB" VARCHAR2(25), "USER_ID"
REM VARCHAR2(8), "DAT_UPD" VARCHAR2(8), "EMP_UPD" VARCHAR2(8)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMPML" ON "ITMPML" ("COD_ITEM" ,
"SEQ_NO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ITMPML" ADD CONSTRAINT "PK_ITMPML" PRIMARY KEY
REM ("COD_ITEM", "SEQ_NO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMPSD" ("NUM_MPSD" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "NUM_NATP" VARCHAR2(16), "DOC_CONM"
REM VARCHAR2(20), "DTM_MPSD" VARCHAR2(16), "NAM_ATTN" VARCHAR2(30),
REM "TYP_UJOB" VARCHAR2(2), "EMP_MAIL" VARCHAR2(8), "DTM_MAIL"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMPSD" ON "ITMPSD" ("NUM_MPSD" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMPSD" ADD CONSTRAINT "PK_ITMPSD" PRIMARY KEY
REM ("NUM_MPSD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMR" ("SEQ_ITMR" VARCHAR2(14) NOT NULL
REM ENABLE, "COD_DPT" VARCHAR2(8), "COD_DPTG" VARCHAR2(8), "COD_ITEM"
REM VARCHAR2(20), "CST_SYS" VARCHAR2(8), "COD_CUST" VARCHAR2(10),
REM "CNT_ALL" NUMBER(3, 0), "DAT_BEG" VARCHAR2(8), "DAT_END" VARCHAR2(8),
REM "RAT_ITMR" NUMBER(8, 4), "REMARK" VARCHAR2(200), "DAT_UPD"
REM VARCHAR2(8), "EMP_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMR" ON "ITMR" ("SEQ_ITMR" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMR" ADD CONSTRAINT "PK_ITMR" PRIMARY KEY
REM ("SEQ_ITMR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMS" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "DSC_ALLC" VARCHAR2(2000), "DSC_ALLE" VARCHAR2(2000),
REM "DSC_SIMC" VARCHAR2(2000), "DSC_SIME" VARCHAR2(2000)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 13631488 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMS" ON "ITMS" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMS" ADD CONSTRAINT "PK_ITMS" PRIMARY KEY
REM ("COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMSC" ("NUM_ITMC" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "DSC_ALLC"
REM VARCHAR2(2000), "DSC_ALLE" VARCHAR2(2000), "DSC_SIMC" VARCHAR2(2000),
REM "DSC_SIME" VARCHAR2(2000)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMSC" ON "ITMSC" ("NUM_ITMC" ,
"COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."ITMSC" ADD CONSTRAINT "PK_ITMSC" PRIMARY KEY
REM ("NUM_ITMC", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMV" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "NUM_VER" VARCHAR2(40) NOT NULL ENABLE, "DAT_VER"
REM VARCHAR2(8), "REMARK" VARCHAR2(200), "NUM_CONF" VARCHAR2(12),
REM "STS_ITMV" VARCHAR2(2), "TYP_ITMV" VARCHAR2(4), "SEQ_ITMV" NUMBER(6,
REM 0), "PS_C1" VARCHAR2(30), "PS_C2" VARCHAR2(30), "PS_N1" NUMBER(17,
REM 4), "PS_N2" NUMBER(17, 4), "STR_ITEM" VARCHAR2(20), "RAT_CHK"
REM NUMBER(6, 3), "NUM_PSCT" VARCHAR2(16), "NUM_PS" VARCHAR2(12),
REM "LIN_PS" VARCHAR2(2), "DAT_CUSTM" VARCHAR2(8), "DAT_TAXSTR"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMV" MODIFY ("RAT_CHK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_ITMV" ON "ITMV" ("COD_ITEM" , "NUM_VER"
, "TYP_ITMV" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMV" ON "ITMV" ("COD_ITEM" , "SEQ_ITMV"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMV" ADD CONSTRAINT "PK_ITMV" PRIMARY KEY
REM ("COD_ITEM", "SEQ_ITMV") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITMX" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "FLD_C1" VARCHAR2(16), "FLD_C2" VARCHAR2(16), "FLD_C3"
REM VARCHAR2(16), "FLD_C4" VARCHAR2(16), "FLD_C5" VARCHAR2(16), "FLD_M1"
REM VARCHAR2(60), "FLD_M2" VARCHAR2(60), "FLD_N1" NUMBER(17, 4), "FLD_N2"
REM NUMBER(17, 4), "STR_ITEM" VARCHAR2(20), "NUM_PTAX" VARCHAR2(20),
REM "FLD_N3" NUMBER(17, 4), "FLD_N4" NUMBER(17, 4), "FLD_N5" NUMBER(17,
REM 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITMX" MODIFY ("FLD_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMX" MODIFY ("FLD_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMX" MODIFY ("FLD_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMX" MODIFY ("FLD_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITMX" MODIFY ("FLD_N5" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITMX" ON "ITMX" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITMX" ADD CONSTRAINT "PK_ITMX" PRIMARY KEY
REM ("COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITTR" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_LOC" VARCHAR2(10) NOT NULL ENABLE, "DAT_TRN" VARCHAR2(8)
REM NOT NULL ENABLE, "TIM_TRN" VARCHAR2(10) NOT NULL ENABLE, "TYP_IO"
REM VARCHAR2(1) NOT NULL ENABLE, "RSN_TRN" VARCHAR2(2), "QTY_TRN"
REM NUMBER(12, 3), "QTY_STK" NUMBER(12, 3), "CLS_TRN" VARCHAR2(2),
REM "MNY_PRICS" NUMBER(14, 4), "MNY_ARGPRS" NUMBER(14, 4), "COD_FACT"
REM VARCHAR2(14), "NUM_TRN" VARCHAR2(12), "LIN_TRN" VARCHAR2(5),
REM "CLS_GET" VARCHAR2(1), "REMARK" VARCHAR2(40), "COD_QC" VARCHAR2(2),
REM "QTY_STKC" NUMBER(12, 3), "QTY_STKB" NUMBER(12, 3), "QTY_STKO"
REM NUMBER(12, 3), "QTY_LOC" NUMBER(12, 3), "SEQ_TRN" VARCHAR2(4),
REM "MNY_ARG" NUMBER(14, 4), "MNY_ARGB" NUMBER(14, 4), "MNY_ARGO"
REM NUMBER(14, 4), "CST_PRICS" NUMBER(17, 4), "CST_STK" NUMBER(17, 4),
REM "CST_STKB" NUMBER(17, 4), "CST_STKO" NUMBER(17, 4), "RSN_FRM"
REM VARCHAR2(2), "SER_PCS" VARCHAR2(20), "NUM_DSC" VARCHAR2(12),
REM "PRO_TAX" VARCHAR2(1), "SEQNO" VARCHAR2(12), "DPT_CTL" VARCHAR2(8),
REM "QTY_CTLDP" NUMBER(12, 3), "NUM_PS" VARCHAR2(12), "NUM_APLY"
REM VARCHAR2(12), "LIN_APLY" VARCHAR2(3), "AP_MHELP" VARCHAR2(20),
REM "NUM_CASE" VARCHAR2(16), "CENT_COST" VARCHAR2(8), "CENT_ARG"
REM NUMBER(14, 4), "CENT_ARGB" NUMBER(14, 4), "CENT_ARGO" NUMBER(14, 4),
REM "CENT_PRICS" NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 54525952 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_TRN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("MNY_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("MNY_ARGPRS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_STKC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_STKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_STKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_LOC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("MNY_ARG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("MNY_ARGB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("MNY_ARGO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("CST_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("CST_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("CST_STKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("CST_STKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."ITTR" MODIFY ("QTY_CTLDP" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX8_ITTR" ON "ITTR" ("CLS_TRN" , "NUM_APLY" ,
"LIN_APLY" , "DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 13631488 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX6_ITTR" ON "ITTR" ("COD_LOC" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 11534336 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_ITTR" ON "ITTR" ("COD_ITEM" , "DAT_TRN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 13631488 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX4_ITTR" ON "ITTR" ("CLS_TRN" , "COD_ITEM" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 14680064
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX1_ITTR" ON "ITTR" ("COD_ITEM" , "COD_LOC" ,
"DAT_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 16777216
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX2_ITTR" ON "ITTR" ("DAT_TRN" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 15728640 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX7_ITTR" ON "ITTR" ("CLS_TRN" , "DAT_TRN" ,
"COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 15728640
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX5_ITTR" ON "ITTR" ("CLS_TRN" , "NUM_TRN" ,
"LIN_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 14680064
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITTR" ON "ITTR" ("COD_ITEM" , "COD_LOC" ,
"DAT_TRN" , "TIM_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
20971520 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX9_ITTR" ON "ITTR" ("NUM_CASE" , "DAT_TRN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 12582912 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITTR" ADD CONSTRAINT "PK_ITTR" PRIMARY KEY
REM ("COD_ITEM", "COD_LOC", "DAT_TRN", "TIM_TRN") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 20971520 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."ITTRX" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_LOC" VARCHAR2(10) NOT NULL ENABLE, "DAT_TRN" VARCHAR2(8)
REM NOT NULL ENABLE, "TIM_TRN" VARCHAR2(10) NOT NULL ENABLE, "NUM_PTAX"
REM VARCHAR2(20), "NUM_BTAX" VARCHAR2(20), "NUM_TXOU" VARCHAR2(12))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_ITTRX" ON "ITTRX" ("COD_ITEM" , "COD_LOC"
, "DAT_TRN" , "TIM_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."ITTRX" ADD CONSTRAINT "PK_ITTRX" PRIMARY KEY
REM ("COD_ITEM", "COD_LOC", "DAT_TRN", "TIM_TRN") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."KMREL" ("SEQ_KEY" NUMBER(4, 0) NOT NULL
REM ENABLE, "DSC_KEY" VARCHAR2(40), "KEY_WORD" VARCHAR2(400)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_KMREL" ON "KMREL" ("SEQ_KEY" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."KMREL" ADD CONSTRAINT "PK_KMREL" PRIMARY KEY
REM ("SEQ_KEY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."KPANL" ("NUM_PANL" VARCHAR2(12) NOT NULL
REM ENABLE, "POS_WIN" VARCHAR2(20), "BACK_COLOR" VARCHAR2(10),
REM "BACK_PICID" VARCHAR2(12), "DSC_PANL" VARCHAR2(100)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_KPANL" ON "KPANL" ("NUM_PANL" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."KPANL" ADD CONSTRAINT "PK_KPANL" PRIMARY KEY
REM ("NUM_PANL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."KPANLD" ("NUM_PANL" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_PANL" VARCHAR2(2) NOT NULL ENABLE, "TYP_PANL"
REM VARCHAR2(2), "EXPR_FUN" VARCHAR2(2000), "POS_SHOW" VARCHAR2(20),
REM "DSC_SHOW" VARCHAR2(200), "DSC_ATTR" VARCHAR2(200), "TYP_SHOW"
REM VARCHAR2(1), "TYP_BORDER" VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_KPANLD" ON "KPANLD" ("NUM_PANL" ,
"LIN_PANL" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."KPANLD" ADD CONSTRAINT "PK_KPANLD" PRIMARY KEY
REM ("NUM_PANL", "LIN_PANL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."KPIUNM" ("NUM_PANL" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_PTAG" VARCHAR2(16) NOT NULL ENABLE, "CNT_KPI" NUMBER(2,
REM 0), "UN_NORMAL" VARCHAR2(2), "DAT_PROC" VARCHAR2(8), "EMP_PROC"
REM VARCHAR2(8), "RAT_UNM" NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_KPIUNM" ON "KPIUNM" ("NUM_PANL" ,
"NUM_PTAG" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."KPIUNM" ADD CONSTRAINT "PK_KPIUNM" PRIMARY KEY
REM ("NUM_PANL", "NUM_PTAG") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCNOC" ("LC_NO" VARCHAR2(30) NOT NULL ENABLE,
REM "LIN_CLC" VARCHAR2(3) NOT NULL ENABLE, "DAT_CLC" VARCHAR2(8),
REM "AMT_CLC" NUMBER(17, 4), "AMT_CLCNT" NUMBER(17, 4), "AMT_INT"
REM NUMBER(10, 4), "AMT_CHG" NUMBER(10, 4), "COD_DOLA" VARCHAR2(3),
REM "VAL_CLC" NUMBER(8, 4), "AMT_PLC" NUMBER(17, 4), "AMT_PLCNT"
REM NUMBER(17, 4), "NUM_GETB" VARCHAR2(20), "NUM_NLC" VARCHAR2(18),
REM "LIN_NLC" VARCHAR2(3), "LIN_LCNO" VARCHAR2(3)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("AMT_INT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("AMT_CHG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("VAL_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("AMT_PLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOC" MODIFY ("AMT_PLCNT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_LCNOC" ON "LCNOC" ("LC_NO" , "LIN_CLC" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LCNOC" ADD CONSTRAINT "PK_LCNOC" PRIMARY KEY
REM ("LC_NO", "LIN_CLC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCNOD" ("LC_NO" VARCHAR2(30), "LIN_LCNO"
REM VARCHAR2(3) NOT NULL ENABLE, "CLS_GET" VARCHAR2(1), "NUM_BUY"
REM VARCHAR2(12), "AMT_BUY" NUMBER(17, 4), "AMT_GIV" NUMBER(17, 4),
REM "AMT_CLC" NUMBER(17, 4), "AMT_CLCNT" NUMBER(17, 4), "LIN_BUY"
REM VARCHAR2(3), "AMT_NLC" NUMBER(17, 4), "AMT_NLCNT" NUMBER(17, 4),
REM "NUM_LCNO" VARCHAR2(18), "TAX_TYPE" VARCHAR2(2), "QTY_BUY" NUMBER(11,
REM 3), "UNT_PRICE" NUMBER(15, 5), "COD_ITEM" VARCHAR2(20), "UNT_BUY"
REM VARCHAR2(3), "NUM_CASE" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("AMT_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("AMT_GIV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("AMT_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("AMT_NLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("QTY_BUY" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOD" MODIFY ("UNT_PRICE" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_LCNOD" ON "LCNOD" ("LC_NO" , "LIN_LCNO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_LCNOD" ON "LCNOD" ("NUM_LCNO" ,
"LIN_LCNO" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."LCNOD" ADD CONSTRAINT "PK_LCNOD" PRIMARY KEY
REM ("NUM_LCNO", "LIN_LCNO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCNOM" ("DAT_APLY" VARCHAR2(8), "LC_NO"
REM VARCHAR2(30), "DAT_LCNO" VARCHAR2(8), "MNY_LCNO" NUMBER(17, 4),
REM "DAL_LCNO" VARCHAR2(3), "TYP_TAK" VARCHAR2(1), "COD_BANK"
REM VARCHAR2(3), "COD_BRAN" VARCHAR2(10), "COD_FACT" VARCHAR2(10),
REM "COD_SBANK" VARCHAR2(3), "COD_SBRAN" VARCHAR2(10), "COD_QUT"
REM VARCHAR2(3), "LC_INS" VARCHAR2(1), "COD_FROM" VARCHAR2(10), "COD_TO"
REM VARCHAR2(10), "DAT_SHIP" VARCHAR2(8), "TYP_SHIP" VARCHAR2(1),
REM "RAT_LC" NUMBER(6, 2), "AMT_LC" NUMBER(17, 4), "VAL_RLC" NUMBER(9,
REM 4), "AMT_LCNT" NUMBER(17, 4), "DAT_CLC" VARCHAR2(8), "AMT_CLC"
REM NUMBER(17, 4), "VAL_CLC" NUMBER(8, 4), "AMT_CLCNT" NUMBER(17, 4),
REM "STS_LCNO" VARCHAR2(2), "DAT_END" VARCHAR2(8), "CLS_GET" VARCHAR2(1),
REM "NUM_BUY" VARCHAR2(12), "ACNO" VARCHAR2(24), "AMT_NLC" NUMBER(17, 4),
REM "AMT_NLCNT" NUMBER(17, 4), "MNY_LOAN" NUMBER(17, 4), "PAY_LOAN"
REM NUMBER(17, 4), "LC_CHGM" VARCHAR2(12), "MNY_CHGM" NUMBER(17, 4),
REM "NUM_LCNO" VARCHAR2(18), "TYP_LC" VARCHAR2(2), "REMARK"
REM VARCHAR2(250), "DPT_FACT" VARCHAR2(8), "COD_TRN" VARCHAR2(3),
REM "COD_BATCH" VARCHAR2(1), "PAK_PS" VARCHAR2(200), "NUM_CRAP"
REM VARCHAR2(12), "RAT_OVR" NUMBER(6, 2), "CAN_XFER" VARCHAR2(1),
REM "LST_AREA" VARCHAR2(8), "COD_DBANK" VARCHAR2(3), "COD_DBRAN"
REM VARCHAR2(10), "COD_MBANK" VARCHAR2(3), "COD_MBRAN" VARCHAR2(10),
REM "TYP_WARN" VARCHAR2(3), "NUM_IMP" VARCHAR2(20), "DOC_CONM"
REM VARCHAR2(20), "PS1" VARCHAR2(1000), "PS2" VARCHAR2(1000), "PS3"
REM VARCHAR2(1000), "UID_ADD" VARCHAR2(8), "DTM_ADD" VARCHAR2(16),
REM "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("MNY_LCNO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("RAT_LC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("AMT_LC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("VAL_RLC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("AMT_LCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("VAL_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("AMT_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("AMT_NLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("MNY_LOAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("PAY_LOAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("MNY_CHGM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNOM" MODIFY ("RAT_OVR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_LCNOM" ON "LCNOM" ("LC_NO" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_LCNOM" ON "LCNOM" ("NUM_LCNO" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LCNOM" ADD CONSTRAINT "PK_LCNOM" PRIMARY KEY
REM ("NUM_LCNO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCNON" ("LC_NO" VARCHAR2(30) NOT NULL ENABLE,
REM "LIN_NLC" VARCHAR2(3) NOT NULL ENABLE, "NUM_NLC" VARCHAR2(18),
REM "DAT_NLC" VARCHAR2(8), "AMT_NLC" NUMBER(17, 4), "VAL_NLC" NUMBER(8,
REM 4), "AMT_NLCNT" NUMBER(17, 4), "NUM_GETB" VARCHAR2(20), "AMT_CLC"
REM NUMBER(17, 4), "AMT_CLCNT" NUMBER(17, 4), "NLC_CHGM" VARCHAR2(12),
REM "STS_LCNON" VARCHAR2(2), "LIN_LCNO" VARCHAR2(3), "CLS_GET"
REM VARCHAR2(1), "NUM_BUY" VARCHAR2(12), "LIN_BUY" VARCHAR2(3),
REM "MNY_CHGM" NUMBER(17, 4), "DAT_PAYM" VARCHAR2(8), "SEQ_NLC"
REM VARCHAR2(3), "COD_FACT" VARCHAR2(10), "NUM_RCV" VARCHAR2(12),
REM "LIN_RCV" VARCHAR2(3), "COD_LOAN" VARCHAR2(30), "DAT_INTB"
REM VARCHAR2(8), "NUM_CHGM" VARCHAR2(12), "LIN_CHGM" VARCHAR2(5),
REM "MNY_CLCP" NUMBER(17, 4), "NUM_BALM" VARCHAR2(12), "DAT_SHIPAB"
REM VARCHAR2(8), "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS1"
REM VARCHAR2(200), "PS2" VARCHAR2(200), "UID_ADD" VARCHAR2(8), "DTM_ADD"
REM VARCHAR2(16), "UID_UPD" VARCHAR2(8), "DTM_UPD" VARCHAR2(16)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("AMT_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("VAL_NLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("AMT_NLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("AMT_CLC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("AMT_CLCNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("MNY_CHGM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("MNY_CLCP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCNON" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_LCNON" ON "LCNON" ("LC_NO" , "LIN_NLC" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LCNON" ADD CONSTRAINT "PK_LCNON" PRIMARY KEY
REM ("LC_NO", "LIN_NLC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCSQ" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_LOC" VARCHAR2(10) NOT NULL ENABLE, "COD_LEN" NUMBER(2,
REM 0), "QTY_SAFE" NUMBER(8, 0), "QTY_ALM_S" NUMBER(6, 0)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_LCSQ" ON "LCSQ" ("COD_ITEM" , "COD_LOC" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LCSQ" ADD CONSTRAINT "PK_LCSQ" PRIMARY KEY
REM ("COD_ITEM", "COD_LOC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCST" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_LOC" VARCHAR2(10), "UNT_STK" VARCHAR2(3), "QTY_STK"
REM NUMBER(12, 3), "COD_QC" VARCHAR2(2), "SER_PCS" VARCHAR2(20) NOT NULL
REM ENABLE, "DAT_EFF" VARCHAR2(8), "REMARK" VARCHAR2(200), "NUM_CASE"
REM VARCHAR2(16), "NUM_DSC" VARCHAR2(12) NOT NULL ENABLE, "PRO_TAX"
REM VARCHAR2(1), "NUM_VER" VARCHAR2(40), "STR_GROUP" VARCHAR2(12),
REM "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4),
REM "QTY_LOGST" NUMBER(12, 3), "QTY_RDI30" NUMBER(12, 3)) PCTFREE 10
REM PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 655360 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("QTY_STK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("SER_PCS" DEFAULT 'xxxx' ) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("NUM_DSC" DEFAULT 'xxxx' ) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("QTY_LOGST" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LCST" MODIFY ("QTY_RDI30" DEFAULT 0 ) ;
CREATE INDEX "MFTEST"."IND1_LCST" ON "LCST" ("COD_LOC" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 458752 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_LCST" ON "LCST" ("COD_ITEM" , "COD_LOC" ,
"SER_PCS" , "NUM_DSC" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
589824 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LCST" ADD CONSTRAINT "PK_LCST" PRIMARY KEY
REM ("COD_ITEM", "COD_LOC", "SER_PCS", "NUM_DSC") USING INDEX PCTFREE 10
REM INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 589824 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LCST1230" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_LOC" VARCHAR2(10), "UNT_STK" VARCHAR2(3), "QTY_STK"
REM NUMBER(12, 3), "COD_QC" VARCHAR2(2), "SER_PCS" VARCHAR2(20) NOT NULL
REM ENABLE, "DAT_EFF" VARCHAR2(8), "REMARK" VARCHAR2(200), "NUM_CASE"
REM VARCHAR2(16), "NUM_DSC" VARCHAR2(12) NOT NULL ENABLE, "PRO_TAX"
REM VARCHAR2(1), "NUM_VER" VARCHAR2(40), "STR_GROUP" VARCHAR2(12),
REM "PS_N1" NUMBER(17, 4), "PS_N2" NUMBER(17, 4), "PS_N3" NUMBER(17, 4))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM CREATE TABLE "MFTEST"."LDOCD" ("NUM_DOCM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_DOCM" VARCHAR2(2) NOT NULL ENABLE, "TYP_DOCD"
REM VARCHAR2(2), "PAT_DOCD" VARCHAR2(100), "DSC_DOCD" VARCHAR2(100),
REM "DOCD_DOCM" VARCHAR2(20), "BEG_WEB" VARCHAR2(8), "END_WEB"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_LDOCD" ON "LDOCD" ("NUM_DOCM" ,
"LIN_DOCM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."LDOCD" ADD CONSTRAINT "PK_LDOCD" PRIMARY KEY
REM ("NUM_DOCM", "LIN_DOCM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LDOCM" ("NUM_DOCM" VARCHAR2(20) NOT NULL
REM ENABLE, "NAM_DOCM" VARCHAR2(60), "TYP_DOCM" VARCHAR2(3), "CLS_DOCA"
REM VARCHAR2(4), "CLS_DOCB" VARCHAR2(4), "CLS_DOCC" VARCHAR2(4),
REM "NUM_PAG" NUMBER(4, 0), "NAM_WTR" VARCHAR2(16), "NAM_MAKR"
REM VARCHAR2(10), "DAT_CRT" VARCHAR2(8), "DPT_MT" VARCHAR2(8), "EMP_MT"
REM VARCHAR2(8), "YAR_USEF" NUMBER(5, 0), "LEV_SECT" VARCHAR2(1),
REM "PAT_LOC" VARCHAR2(600), "CLS_CONT" VARCHAR2(3), "LOC_STK"
REM VARCHAR2(10), "LOC_NOW" VARCHAR2(10), "NUM_CNTL" VARCHAR2(16),
REM "BMP_WEB" VARCHAR2(600), "KEY_WORD" VARCHAR2(400), "REMARK"
REM VARCHAR2(2000), "PS1" VARCHAR2(20), "PS2" VARCHAR2(2000), "PS3"
REM VARCHAR2(20), "DAT_MT" VARCHAR2(8), "CNT_MRK" NUMBER(6, 0), "CNT_DOC"
REM NUMBER(6, 0), "FAQ_GROUP" VARCHAR2(1), "CLS_DOC4" VARCHAR2(4),
REM "CLS_DOC5" VARCHAR2(4), "PAT_LOCU" VARCHAR2(600), "CNT_MAIL"
REM NUMBER(3, 0), "NUM_CNTL2" VARCHAR2(16), "DSC_REQD" VARCHAR2(60),
REM "DAT_FILEU" VARCHAR2(8), "EMP_QC1" VARCHAR2(8), "DAT_QC1"
REM VARCHAR2(8), "DOCM_QC1" VARCHAR2(2), "EMP_QC2" VARCHAR2(8), "DAT_QC2"
REM VARCHAR2(8), "DOCM_QC2" VARCHAR2(2), "LEV_USE" VARCHAR2(2),
REM "SUBJ_QC1" VARCHAR2(2000), "PS4" VARCHAR2(20), "PS5" VARCHAR2(20),
REM "PS6" VARCHAR2(20), "PS7" VARCHAR2(20), "PS8" VARCHAR2(20),
REM "EMP_QC1S" VARCHAR2(8), "DAT_QC1S" VARCHAR2(8), "EMP_QC1P"
REM VARCHAR2(8), "DAT_QC1P" VARCHAR2(8), "DAT_EFFB" VARCHAR2(8),
REM "DAT_EFFE" VARCHAR2(8), "STS_DOCM" VARCHAR2(2), "NUM_DOCMG"
REM VARCHAR2(20), "VER_DOCM" VARCHAR2(4), "CAN_MAIL" VARCHAR2(2)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LDOCM" MODIFY ("NUM_PAG" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LDOCM" MODIFY ("YAR_USEF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LDOCM" MODIFY ("CNT_MRK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LDOCM" MODIFY ("CNT_DOC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LDOCM" MODIFY ("CNT_MAIL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_LDOCM" ON "LDOCM" ("NUM_DOCM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LDOCM" ADD CONSTRAINT "PK_LDOCM" PRIMARY KEY
REM ("NUM_DOCM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LDOCR" ("NUM_DOCM" VARCHAR2(20) NOT NULL
REM ENABLE, "DPT_RECV" VARCHAR2(8) NOT NULL ENABLE, "REMARK"
REM VARCHAR2(60)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_LDOCR" ON "LDOCR" ("NUM_DOCM" ,
"DPT_RECV" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."LDOCR" ADD CONSTRAINT "PK_LDOCR" PRIMARY KEY
REM ("NUM_DOCM", "DPT_RECV") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LDOCS" ("NUM_DOCM" VARCHAR2(20) NOT NULL
REM ENABLE, "LIN_DOCM" VARCHAR2(3) NOT NULL ENABLE, "NUM_DOCMS"
REM VARCHAR2(20), "TYP_DOCMS" VARCHAR2(2), "DSC_DOCMS" VARCHAR2(200),
REM "EMP_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_LDOCS" ON "LDOCS" ("NUM_DOCM" ,
"LIN_DOCM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."LDOCS" ADD CONSTRAINT "PK_LDOCS" PRIMARY KEY
REM ("NUM_DOCM", "LIN_DOCM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LGBOXD" ("DAT_BOXD" VARCHAR2(8) NOT NULL
REM ENABLE, "DPT_CTL" VARCHAR2(8) NOT NULL ENABLE, "COD_LOC" VARCHAR2(10)
REM NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "SER_PCS"
REM VARCHAR2(20) NOT NULL ENABLE, "BEG_BOX" NUMBER(12, 3), "IN_BOX"
REM NUMBER(12, 3), "OUT_BOX" NUMBER(12, 3), "ADJ_BOX" NUMBER(12, 3),
REM "END_BOX" NUMBER(12, 3), "STK_BOX" NUMBER(12, 3), "PS1"
REM VARCHAR2(200), "PS2" VARCHAR2(200), "PS3" VARCHAR2(200), "PS_N1"
REM NUMBER(12, 3), "PS_N2" NUMBER(12, 3), "PS_N3" NUMBER(12, 3),
REM "UID_PROC" VARCHAR2(8), "DAT_PROC" VARCHAR2(8), "UID_UPD"
REM VARCHAR2(8), "DAT_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("BEG_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("IN_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("OUT_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("ADJ_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("END_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("STK_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("PS_N2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXD" MODIFY ("PS_N3" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_LGBOXD" ON "LGBOXD" ("DAT_BOXD" ,
"DPT_CTL" , "COD_LOC" , "COD_ITEM" , "SER_PCS" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LGBOXD" ADD CONSTRAINT "PK_LGBOXD" PRIMARY KEY
REM ("DAT_BOXD", "DPT_CTL", "COD_LOC", "COD_ITEM", "SER_PCS") USING INDEX
REM PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM ENABLE ;
REM CREATE TABLE "MFTEST"."LGBOXM" ("YEAR_MON" VARCHAR2(6) NOT NULL
REM ENABLE, "DPT_CTL" VARCHAR2(8) NOT NULL ENABLE, "COD_LOC" VARCHAR2(10)
REM NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "SER_PCS"
REM VARCHAR2(20) NOT NULL ENABLE, "BEG_BOX" NUMBER(12, 3), "IN_BOX"
REM NUMBER(12, 3), "OUT_BOX" NUMBER(12, 3), "ADJ_BOX" NUMBER(12, 3),
REM "END_BOX" NUMBER(12, 3), "STK_BOX" NUMBER(12, 3), "PS1"
REM VARCHAR2(200), "PS2" VARCHAR2(200), "PS3" VARCHAR2(200), "PS_N1"
REM NUMBER(12, 3), "PS_N2" NUMBER(12, 3), "PS_N3" NUMBER(12, 3),
REM "UID_PROC" VARCHAR2(8), "DAT_PROC" VARCHAR2(8), "UID_UPD"
REM VARCHAR2(8), "DAT_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("BEG_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("IN_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("OUT_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("ADJ_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("END_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("STK_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("PS_N1" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("PS_N2" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGBOXM" MODIFY ("PS_N3" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_LGBOXM" ON "LGBOXM" ("YEAR_MON" ,
"DPT_CTL" , "COD_LOC" , "COD_ITEM" , "SER_PCS" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LGBOXM" ADD CONSTRAINT "PK_LGBOXM" PRIMARY KEY
REM ("YEAR_MON", "DPT_CTL", "COD_LOC", "COD_ITEM", "SER_PCS") USING INDEX
REM PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM ENABLE ;
REM CREATE TABLE "MFTEST"."LGMON" ("YEAR_MON" VARCHAR2(6) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "DPT_CTL"
REM VARCHAR2(8) NOT NULL ENABLE, "CLS_TRN" VARCHAR2(2) NOT NULL ENABLE,
REM "RSN_FRM" VARCHAR2(2) NOT NULL ENABLE, "N_QTY" NUMBER(12, 3), "N_BOX"
REM NUMBER(12, 3), "N_PALT" NUMBER(12, 3), "FEE_TRANS" NUMBER(14, 2),
REM "FEE_UPLOD" NUMBER(14, 2), "FEE_PRPAD" NUMBER(14, 2), "FEE_MARK"
REM NUMBER(14, 2), "UID_PROC" VARCHAR2(8), "DAT_PROC" VARCHAR2(8),
REM "UID_UPD" VARCHAR2(8), "DAT_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("N_QTY" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("N_BOX" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("N_PALT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("FEE_TRANS" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("FEE_UPLOD" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("FEE_PRPAD" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."LGMON" MODIFY ("FEE_MARK" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_LGMON" ON "LGMON" ("YEAR_MON" ,
"COD_ITEM" , "DPT_CTL" , "CLS_TRN" , "RSN_FRM" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LGMON" ADD CONSTRAINT "PK_LGMON" PRIMARY KEY
REM ("YEAR_MON", "COD_ITEM", "DPT_CTL", "CLS_TRN", "RSN_FRM") USING INDEX
REM PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM ENABLE ;
REM CREATE TABLE "MFTEST"."LIBLIST" ("NUM_LIB" VARCHAR2(12) NOT NULL
REM ENABLE, "NAM_LIB" VARCHAR2(50), "PATH_LIB" VARCHAR2(1000), "DAT_UPD"
REM VARCHAR2(8), "TIM_UPD" VARCHAR2(6), "DAT_MOD" VARCHAR2(8), "TIM_MOD"
REM VARCHAR2(6)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_LIBLIST" ON "LIBLIST" ("NUM_LIB" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LIBLIST" ADD CONSTRAINT "PK_LIBLIST" PRIMARY
REM KEY ("NUM_LIB") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."LOCT" ("COD_LOC" VARCHAR2(10) NOT NULL ENABLE,
REM "NAM_LOC" VARCHAR2(30), "CSIZE" VARCHAR2(14), "CLS_SIZE" VARCHAR2(3),
REM "NUM_CNTL" VARCHAR2(16), "NUM_CAR" VARCHAR2(12), "PRO_TAX"
REM VARCHAR2(1), "DPT_CTL" VARCHAR2(8), "NUM_WAY" VARCHAR2(12), "MAT_GAP"
REM NUMBER(8, 4), "STS_ETC" VARCHAR2(2), "DAT_USED" VARCHAR2(8),
REM "NUM_RACK" VARCHAR2(4), "NUM_ROW" VARCHAR2(4), "NUM_COL" VARCHAR2(4),
REM "STS_FULL" VARCHAR2(1), "YN_MRP" VARCHAR2(2), "REMARK" VARCHAR2(200),
REM "DPT_LOC" VARCHAR2(8), "YN_SHARQ" VARCHAR2(1), "BAT_ADJ" VARCHAR2(1))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."LOCT" MODIFY ("MAT_GAP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."LOCT" MODIFY ("YN_MRP" DEFAULT 'Y') ;
CREATE UNIQUE INDEX "MFTEST"."PK_LOCT" ON "LOCT" ("COD_LOC" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."LOCT" ADD CONSTRAINT "PK_LOCT" PRIMARY KEY
REM ("COD_LOC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MACHQ" ("DAT_DALY" VARCHAR2(8) NOT NULL
REM ENABLE, "NUM_MACH" VARCHAR2(8) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20) NOT NULL ENABLE, "HUR_PLN" NUMBER(6, 2), "QTY_PLN"
REM NUMBER(11, 3), "DAT_UPD" VARCHAR2(8) NOT NULL ENABLE, "EMP_UPD"
REM VARCHAR2(8) NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MACHQ" ON "MACHQ" ("DAT_DALY" ,
"NUM_MACH" , "COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MACHQ" ADD CONSTRAINT "PK_MACHQ" PRIMARY KEY
REM ("DAT_DALY", "NUM_MACH", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS
REM 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MACM" ("NUM_MACH" VARCHAR2(8) NOT NULL ENABLE,
REM "COD_MACH" VARCHAR2(6), "NAM_MACH" VARCHAR2(20), "STN_WORK"
REM VARCHAR2(8), "TYP_SRTD" VARCHAR2(2), "NUM_ESTAT" VARCHAR2(12),
REM "STS_MACM" VARCHAR2(4), "HUR_CAN" NUMBER(8, 2), "HUR_USE" NUMBER(8,
REM 2), "STD_USE" NUMBER(8, 2), "TYP_MACM" VARCHAR2(2), "REMARK"
REM VARCHAR2(200), "PS_SRTD" VARCHAR2(400), "DTM_UPD" VARCHAR2(14),
REM "UID_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MACM" MODIFY ("HUR_CAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MACM" MODIFY ("HUR_USE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MACM" MODIFY ("STD_USE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MACM" ON "MACM" ("NUM_MACH" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MACM" ADD CONSTRAINT "PK_MACM" PRIMARY KEY
REM ("NUM_MACH") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MAPDOC" ("NUM_MAP" VARCHAR2(12) NOT NULL
REM ENABLE, "IT_ID" VARCHAR2(20), "NUM_DOCM" VARCHAR2(20), "DAT_ADV"
REM VARCHAR2(8), "EMP_ADV" VARCHAR2(8), "DSC_ADV" VARCHAR2(2000),
REM "STS_MAP" VARCHAR2(8), "EMP_2ONCA" VARCHAR2(8), "DAT_2ONCA"
REM VARCHAR2(8), "DAT_PROC" VARCHAR2(8), "EMP_PROC" VARCHAR2(8),
REM "UIS_SYS" VARCHAR2(8), "TYP_MDOC" VARCHAR2(2), "NUM_ONCA"
REM VARCHAR2(12), "EMP_ORD" VARCHAR2(8), "DSC_CANCEL" VARCHAR2(600),
REM "DAT_ONCAOK" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MAPDOC" ON "MAPDOC" ("NUM_MAP" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_MAPDOC" ON "MAPDOC" ("IT_ID" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MAPDOC" ADD CONSTRAINT "PK_MAPDOC" PRIMARY KEY
REM ("NUM_MAP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MBAND" ("NUM_BANN" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_BANN" VARCHAR2(3) NOT NULL ENABLE, "AREQ_LINK"
REM VARCHAR2(100), "ADR_LINK" VARCHAR2(200), "YN_LOGIN" VARCHAR2(1),
REM "DSC_LINK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MBAND" ON "MBAND" ("NUM_BANN" ,
"LIN_BANN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MBAND" ADD CONSTRAINT "PK_MBAND" PRIMARY KEY
REM ("NUM_BANN", "LIN_BANN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MBANN" ("NUM_BANN" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(8), "BEG_DATE" VARCHAR2(8), "END_DATE"
REM VARCHAR2(8), "BEG_TIME" VARCHAR2(6), "END_TIME" VARCHAR2(6),
REM "SEC_TIME" NUMBER(6, 0), "BMP_PATH" VARCHAR2(100), "ADR_LINK"
REM VARCHAR2(100), "DSC_BANN" VARCHAR2(200), "AREA_BANN" VARCHAR2(3),
REM "REMARK" VARCHAR2(400)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MBANN" MODIFY ("SEC_TIME" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_VANN" ON "MBANN" ("BEG_DATE" ,
"BEG_TIME" , "NUM_BANN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MBANN" ON "MBANN" ("NUM_BANN" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MBANN" ADD CONSTRAINT "PK_MBANN" PRIMARY KEY
REM ("NUM_BANN") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MBOM" ("COD_ITEM" VARCHAR2(20) NOT NULL
REM ENABLE, "NUM_SEQ" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEMS"
REM VARCHAR2(20) NOT NULL ENABLE, "QTY_SP" NUMBER(13, 7), "NUM_PON"
REM VARCHAR2(3), "DAT_SPB" VARCHAR2(8), "DAT_SPE" VARCHAR2(8), "DPT_CRT"
REM VARCHAR2(8), "UNT_STK" VARCHAR2(3), "REMARK" VARCHAR2(4000),
REM "UPD_STR" VARCHAR2(1), "EMP_LAST" VARCHAR2(8), "DTM_LAST"
REM VARCHAR2(16), "FILE_BOM" VARCHAR2(200), "COD_2ITM" VARCHAR2(4),
REM "ROOP_ITEM" VARCHAR2(20), "FLG_UPD" VARCHAR2(1), "COD_2OPUM"
REM VARCHAR2(4), "USE_RPMT" VARCHAR2(1), "QTY_PROD" NUMBER(15, 7),
REM "EMP_ADD" VARCHAR2(8), "DAT_ADD" VARCHAR2(8), "PS3" VARCHAR2(2000),
REM "PS1" VARCHAR2(2000), "PS2" VARCHAR2(2000), "PS4" VARCHAR2(2000),
REM "PS5" VARCHAR2(2000), "PS6" VARCHAR2(2000), "PS_N1" NUMBER(17, 4),
REM "PS_N2" NUMBER(17, 4), "NUM_CNTL" VARCHAR2(16)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 458752 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MBOM" MODIFY ("QTY_SP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MBOM" MODIFY ("QTY_PROD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MBOM" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MBOM" MODIFY ("PS_N2" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IND1_MBOM" ON "MBOM" ("COD_ITEMS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IND2_MBOM" ON "MBOM" ("COD_ITEM" , "COD_ITEMS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MBOM" ON "MBOM" ("COD_ITEM" , "NUM_SEQ" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 196608 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MBOM" ADD CONSTRAINT "PK_MBOM" PRIMARY KEY
REM ("COD_ITEM", "NUM_SEQ") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 196608 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MCHY" ("YEAR" VARCHAR2(4) NOT NULL ENABLE,
REM "COD_MCHS" VARCHAR2(6) NOT NULL ENABLE, "MNY_HR" NUMBER(14, 6))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MCHY" MODIFY ("MNY_HR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MCHY" ON "MCHY" ("YEAR" , "COD_MCHS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MCHY" ADD CONSTRAINT "PK_MCHY" PRIMARY KEY
REM ("YEAR", "COD_MCHS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MCLOS" ("TYP_CLOS" VARCHAR2(2) NOT NULL
REM ENABLE, "MON_CLOS" VARCHAR2(6) NOT NULL ENABLE, "EMP_CLOS"
REM VARCHAR2(8), "DAT_CLOS" VARCHAR2(8), "REMARK" VARCHAR2(200),
REM "STS_CLOS" VARCHAR2(2), "EMP_UPD" VARCHAR2(8), "DTM_UPD"
REM VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MCLOS" ON "MCLOS" ("TYP_CLOS" ,
"MON_CLOS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MCLOS" ADD CONSTRAINT "PK_MCLOS" PRIMARY KEY
REM ("TYP_CLOS", "MON_CLOS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MCTLP" ("DPT_CTL" VARCHAR2(8) NOT NULL ENABLE,
REM "MON_YM" VARCHAR2(6) NOT NULL ENABLE, "COD_ITEM" VARCHAR2(20) NOT
REM NULL ENABLE, "PRS_CTL" NUMBER(14, 4), "REMARK" VARCHAR2(200),
REM "DAT_TRN" VARCHAR2(8), "EMP_TRN" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MCTLP" MODIFY ("PRS_CTL" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MCTLP" ON "MCTLP" ("DPT_CTL" , "MON_YM" ,
"COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MCTLP" ADD CONSTRAINT "PK_MCTLP" PRIMARY KEY
REM ("DPT_CTL", "MON_YM", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MCUST" ("COD_CUST" VARCHAR2(10) NOT NULL
REM ENABLE, "SEQ_ITM" NUMBER(4, 0) NOT NULL ENABLE, "MENU_ID"
REM VARCHAR2(20), "IT_TYPE" VARCHAR2(1), "IT_ID" VARCHAR2(20), "PROMPT"
REM VARCHAR2(60), "SIN_EMP" VARCHAR2(8), "SIN_DAT" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MCUST" ON "MCUST" ("COD_CUST" , "SEQ_ITM"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MCUST" ADD CONSTRAINT "PK_MCUST" PRIMARY KEY
REM ("COD_CUST", "SEQ_ITM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MCUT" ("NUM_MCUT" VARCHAR2(12) NOT NULL
REM ENABLE, "CLS_MCUT" VARCHAR2(3), "DSC_SIZEO" VARCHAR2(20), "OLD_LEN"
REM NUMBER(12, 2), "OLD_WIDE" NUMBER(12, 2), "WAY_MCUT" VARCHAR2(20),
REM "CNT_LEN" NUMBER(2, 0), "CNT_WIDE" NUMBER(2, 0), "DSC_SIZEN"
REM VARCHAR2(20), "QTY_MCUT" NUMBER(8, 0), "NEW_LEN" NUMBER(12, 2),
REM "NEW_WIDE" NUMBER(12, 2), "TOT_LEN" NUMBER(12, 2), "TOT_WIDE"
REM NUMBER(12, 2), "RAT_MCUT" NUMBER(6, 4), "PS1" VARCHAR2(20), "PS_N1"
REM NUMBER(17, 4), "NUM_MBAT" VARCHAR2(12), "EMP_INS" VARCHAR2(8),
REM "DAT_INS" VARCHAR2(8), "COD_ITEM" VARCHAR2(20), "COD_ITEMS"
REM VARCHAR2(20), "TRUN_YN" VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("OLD_LEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("OLD_WIDE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("CNT_LEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("CNT_WIDE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("QTY_MCUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("NEW_LEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("NEW_WIDE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("TOT_LEN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("TOT_WIDE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("RAT_MCUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MCUT" MODIFY ("PS_N1" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MCUT" ON "MCUT" ("NUM_MCUT" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MCUT" ADD CONSTRAINT "PK_MCUT" PRIMARY KEY
REM ("NUM_MCUT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MDIVD" ("NUM_DIVM" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_DIVM" VARCHAR2(3) NOT NULL ENABLE, "NUM_SUPY"
REM VARCHAR2(12), "COD_ITEM" VARCHAR2(20), "QTY_APLY" NUMBER(12, 3),
REM "NUM_APLY" VARCHAR2(12), "LIN_APLY" VARCHAR2(3), "STS_DIVD"
REM VARCHAR2(2), "DAT_PROC" VARCHAR2(8), "EMP_PROC" VARCHAR2(8), "REMARK"
REM VARCHAR2(200), "CLS_GET" VARCHAR2(1), "NUM_BUY" VARCHAR2(12),
REM "NUM_ORD" VARCHAR2(16), "ROT_ORD" VARCHAR2(2), "DAT_CANCEL"
REM VARCHAR2(8), "EMP_CANCEL" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MDIVD" MODIFY ("QTY_APLY" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MDIVD" ON "MDIVD" ("NUM_DIVM" ,
"LIN_DIVM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MDIVD" ADD CONSTRAINT "PK_MDIVD" PRIMARY KEY
REM ("NUM_DIVM", "LIN_DIVM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MDIVM" ("NUM_DIVM" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_DIVM" VARCHAR2(8), "DPT_DIVM" VARCHAR2(8), "EMP_DIVM"
REM VARCHAR2(8), "COD_DIVM" VARCHAR2(2), "REMARK" VARCHAR2(200),
REM "DPT_CTL" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MDIVM" ON "MDIVM" ("NUM_DIVM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MDIVM" ADD CONSTRAINT "PK_MDIVM" PRIMARY KEY
REM ("NUM_DIVM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MENU" ("MENU_ID" VARCHAR2(20) NOT NULL ENABLE,
REM "IT_SEQNO" NUMBER(*,0), "IT_TYPE" VARCHAR2(1), "IT_ID" VARCHAR2(20)
REM NOT NULL ENABLE, "PROMPT" VARCHAR2(60), "SEC_TYPE" VARCHAR2(1),
REM "CHM_HTM" VARCHAR2(20), "PROMPT1" VARCHAR2(60), "PROMPT2"
REM VARCHAR2(60), "PROMPT3" VARCHAR2(60), "DSC_AP" VARCHAR2(2000),
REM "NUM_DOCM" VARCHAR2(20), "ID_TAG" VARCHAR2(20), "DAT_LAST"
REM VARCHAR2(8), "DIY_MENU" VARCHAR2(1), "CLS_SYS" VARCHAR2(10)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 2097152
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MENU" MODIFY ("SEC_TYPE" DEFAULT 'Y') ;
REM ALTER TABLE "MFTEST"."MENU" MODIFY ("DAT_LAST" DEFAULT
REM TO_CHAR(SYSDATE,'YYYYMMDD')) ;
CREATE INDEX "MFTEST"."IDX1_MENU" ON "MENU" ("MENU_ID" , "IT_SEQNO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 720896 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_MENU" ON "MENU" ("IT_ID" ) PCTFREE 10 INITRANS
2 MAXTRANS 255 STORAGE(INITIAL 720896 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MENU" ON "MENU" ("MENU_ID" , "IT_ID" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 786432 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MENU" ADD CONSTRAINT "PK_MENU" PRIMARY KEY
REM ("MENU_ID", "IT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 786432 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MESG" ("MSG_CLASS" VARCHAR2(2) NOT NULL
REM ENABLE, "MSG_CODE" VARCHAR2(10) NOT NULL ENABLE, "MSG_TEXT"
REM VARCHAR2(200) NOT NULL ENABLE, "MSG1_SHOW" VARCHAR2(200), "MSG2_SHOW"
REM VARCHAR2(200), "MSG3_SHOW" VARCHAR2(200), "ALARM_MSG" VARCHAR2(1))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MESG" ON "MESG" ("MSG_CLASS" , "MSG_CODE"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MESG" ADD CONSTRAINT "PK_MESG" PRIMARY KEY
REM ("MSG_CLASS", "MSG_CODE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MFLIC" ("NUM_FLIC" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_CUST" VARCHAR2(40), "NAM_LIC" VARCHAR2(40), "PARA_LIC"
REM VARCHAR2(20), "COND_DAT" VARCHAR2(8), "COND_LIC" NUMBER(6, 0),
REM "NAM_ATTN" VARCHAR2(20), "TEL" VARCHAR2(20), "EMAIL" VARCHAR2(100),
REM "REMARK" VARCHAR2(100), "ADD_LIC" NUMBER(4, 0), "ADD_DAT"
REM VARCHAR2(8), "FILE_NM" VARCHAR2(40), "STS2FTP" VARCHAR2(1),
REM "COND_DATB" VARCHAR2(8), "EMP_APLY" VARCHAR2(8), "NUM_CRDT"
REM VARCHAR2(12), "COM_GROUP" VARCHAR2(20), "NUM_REG" VARCHAR2(20),
REM "TYP_LIC" VARCHAR2(1), "RSN_LIC" VARCHAR2(2), "LIC2PB10" VARCHAR2(1),
REM "DAT_UPD" VARCHAR2(8), "DB_HOSTNM" VARCHAR2(40)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MFLIC" MODIFY ("COND_LIC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MFLIC" MODIFY ("ADD_LIC" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MFLIC" ON "MFLIC" ("NUM_FLIC" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_MFLIC" ON "MFLIC" ("COD_CUST" , "ADD_DAT" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MFLIC" ADD CONSTRAINT "PK_MFLIC" PRIMARY KEY
REM ("NUM_FLIC") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MFVER" ("COD_EXE" VARCHAR2(8) NOT NULL ENABLE,
REM "NUM_MVER" VARCHAR2(16) NOT NULL ENABLE, "DAT_SOUR" VARCHAR2(8),
REM "DTM_EXE" VARCHAR2(16), "DTM_PLUS" VARCHAR2(16), "REMARK"
REM VARCHAR2(100), "DTM_ZIP" VARCHAR2(16)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MFVER" ON "MFVER" ("COD_EXE" , "NUM_MVER"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MFVER" ADD CONSTRAINT "PK_MFVER" PRIMARY KEY
REM ("COD_EXE", "NUM_MVER") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MGOLD" ("NUM_MGOLD" VARCHAR2(12) NOT NULL
REM ENABLE, "TYP_GOLD" VARCHAR2(2), "DAT_MGOLD" VARCHAR2(8), "COD_MNY"
REM VARCHAR2(3), "UNT_STK" VARCHAR2(3), "MNY_MGOLD" NUMBER(12, 3), "PS1"
REM VARCHAR2(600), "PS2" VARCHAR2(600), "PS3" VARCHAR2(600), "PS4"
REM VARCHAR2(600), "PS5" VARCHAR2(600), "PS_N1" NUMBER(17, 4), "PS_N2"
REM NUMBER(17, 4), "PS_N3" NUMBER(17, 4), "PS_N4" NUMBER(17, 4), "PS_N5"
REM NUMBER(17, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MGOLD" MODIFY ("MNY_MGOLD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MGOLD" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MGOLD" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MGOLD" MODIFY ("PS_N3" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MGOLD" MODIFY ("PS_N4" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MGOLD" MODIFY ("PS_N5" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MGOLD" ON "MGOLD" ("NUM_MGOLD" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_MGOLD" ON "MGOLD" ("TYP_GOLD" , "DAT_MGOLD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MGOLD" ADD CONSTRAINT "PK_MGOLD" PRIMARY KEY
REM ("NUM_MGOLD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MITDL" ("NUM_ITDL" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20), "MON_SHRF" VARCHAR2(6), "MON_SHRT"
REM VARCHAR2(6), "MNY_SHR" NUMBER(17, 4), "DTM_INS" VARCHAR2(14),
REM "UID_INS" VARCHAR2(8), "DTM_UPD" VARCHAR2(14), "UID_UPD" VARCHAR2(8))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MITDL" MODIFY ("MNY_SHR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MITDL" ON "MITDL" ("NUM_ITDL" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_MITDL" ON "MITDL" ("COD_ITEM" , "MON_SHRF" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MITDL" ADD CONSTRAINT "PK_MITDL" PRIMARY KEY
REM ("NUM_ITDL") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MKBAS" ("COD_MALL" VARCHAR2(8) NOT NULL
REM ENABLE, "NUM_BID" VARCHAR2(20) NOT NULL ENABLE, "NAM_BID"
REM VARCHAR2(60), "DAT_BID" VARCHAR2(8), "DAT_EFFB" VARCHAR2(8),
REM "DAT_EFFE" VARCHAR2(8), "EMP_PROC" VARCHAR2(8), "COD_FACT"
REM VARCHAR2(10), "MK_ADDR" VARCHAR2(200), "N_PING" NUMBER(6, 2),
REM "REMARK" VARCHAR2(400), "COD_AREA" VARCHAR2(7)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MKBAS" MODIFY ("N_PING" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MKBAS" ON "MKBAS" ("COD_MALL" , "NUM_BID"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MKBAS" ADD CONSTRAINT "PK_MKBAS" PRIMARY KEY
REM ("COD_MALL", "NUM_BID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MKCST" ("COD_MALL" VARCHAR2(8) NOT NULL
REM ENABLE, "NUM_RENT" VARCHAR2(12) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10) NOT NULL ENABLE, "LIN_FEES" NUMBER(3, 0) NOT NULL
REM ENABLE, "DAT_EFFB" VARCHAR2(8), "DAT_EFFE" VARCHAR2(8), "TYP_FEES"
REM VARCHAR2(3), "COND_FEES" VARCHAR2(3), "TYP_CALCU" VARCHAR2(3),
REM "QTY_PRICE" NUMBER(12, 3), "TAX_TYPE" VARCHAR2(2), "NUM_BID"
REM VARCHAR2(20), "PS1" VARCHAR2(200), "PS2" VARCHAR2(200), "PS_N1"
REM NUMBER(12, 3), "PS_N2" NUMBER(12, 3), "DAT_2AR" VARCHAR2(8),
REM "TIME_RECV" NUMBER(2, 0), "DAY_AR" VARCHAR2(2), "QTY_FEES" NUMBER(11,
REM 3), "MNY_FEES" NUMBER(14, 4)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MKCST" MODIFY ("QTY_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKCST" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKCST" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKCST" MODIFY ("TIME_RECV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKCST" MODIFY ("QTY_FEES" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKCST" MODIFY ("MNY_FEES" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MKCST" ON "MKCST" ("COD_MALL" ,
"NUM_RENT" , "COD_CUST" , "LIN_FEES" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MKCST" ADD CONSTRAINT "PK_MKCST" PRIMARY KEY
REM ("COD_MALL", "NUM_RENT", "COD_CUST", "LIN_FEES") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MKFACT" ("COD_MALL" VARCHAR2(8) NOT NULL
REM ENABLE, "NUM_BID" VARCHAR2(20) NOT NULL ENABLE, "COD_FACT"
REM VARCHAR2(10) NOT NULL ENABLE, "LIN_FEES" NUMBER(3, 0) NOT NULL
REM ENABLE, "DAT_EFFB" VARCHAR2(8), "DAT_EFFE" VARCHAR2(8), "TYP_FEES"
REM VARCHAR2(3), "COND_FEES" VARCHAR2(3), "TYP_CALCU" VARCHAR2(3),
REM "QTY_PRICE" NUMBER(12, 3), "TAX_TYPE" VARCHAR2(2), "PS1"
REM VARCHAR2(200), "PS2" VARCHAR2(200), "PS_N1" NUMBER(12, 3), "PS_N2"
REM NUMBER(12, 3), "DAT_2AP" VARCHAR2(8), "TIME_RECV" NUMBER(2, 0),
REM "DAY_AP" VARCHAR2(2), "QTY_FEES" NUMBER(11, 3), "MNY_FEES" NUMBER(14,
REM 4)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL
REM 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MKFACT" MODIFY ("QTY_PRICE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKFACT" MODIFY ("PS_N1" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKFACT" MODIFY ("PS_N2" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKFACT" MODIFY ("TIME_RECV" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKFACT" MODIFY ("QTY_FEES" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKFACT" MODIFY ("MNY_FEES" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MKFACT" ON "MKFACT" ("COD_MALL" ,
"NUM_BID" , "COD_FACT" , "LIN_FEES" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MKFACT" ADD CONSTRAINT "PK_MKFACT" PRIMARY KEY
REM ("COD_MALL", "NUM_BID", "COD_FACT", "LIN_FEES") USING INDEX PCTFREE
REM 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MKSALC" ("NUM_MKSA" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_INVM" VARCHAR2(25) NOT NULL ENABLE, "MNY_MKSC"
REM NUMBER(14, 2), "REMARK" VARCHAR2(100)) PCTFREE 10 PCTUSED 40 INITRANS
REM 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MKSALC" MODIFY ("MNY_MKSC" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MKSALC" ON "MKSALC" ("NUM_MKSA" ,
"NUM_INVM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MKSALC" ADD CONSTRAINT "PK_MKSALC" PRIMARY KEY
REM ("NUM_MKSA", "NUM_INVM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MKSALD" ("NUM_MKSA" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_INVM" VARCHAR2(25) NOT NULL ENABLE, "REMARK"
REM VARCHAR2(100)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MKSALD" ON "MKSALD" ("NUM_MKSA" ,
"NUM_INVM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MKSALD" ADD CONSTRAINT "PK_MKSALD" PRIMARY KEY
REM ("NUM_MKSA", "NUM_INVM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MKSALE" ("NUM_MKSA" VARCHAR2(12) NOT NULL
REM ENABLE, "COD_MALL" VARCHAR2(8), "DAT_MKSA" VARCHAR2(8), "COD_CUST"
REM VARCHAR2(10), "TYP_MKSA" VARCHAR2(4), "MNY_MKSA" NUMBER(14, 2),
REM "NUM_INVMB" VARCHAR2(25), "NUM_INVME" VARCHAR2(25), "TYP_INVM"
REM VARCHAR2(2), "REMARK" VARCHAR2(400), "MNY_MKST" NUMBER(14, 2),
REM "MNY_MKSN" NUMBER(14, 2), "CNT_CUST" NUMBER(8, 0), "MNY_COUP"
REM NUMBER(14, 2), "DAT_ADD" VARCHAR2(8), "UID_ADD" VARCHAR2(8),
REM "DAT_UPD" VARCHAR2(8), "UID_UPD" VARCHAR2(8), "ID_INVMM"
REM VARCHAR2(10), "TAX_TYPE" VARCHAR2(2), "MNY_IVNM" NUMBER(14, 2),
REM "TAX_INVM" NUMBER(14, 2), "STS_MKSAL" VARCHAR2(2), "DAT_2INVM"
REM VARCHAR2(8), "UID_2INVM" VARCHAR2(8), "MNY_MKSC" NUMBER(14, 2),
REM "MNY_MKSE" NUMBER(14, 2), "MNY_MKSF" NUMBER(14, 2), "MNY_MKSG"
REM NUMBER(14, 2), "MNY_MKSH" NUMBER(14, 2), "RAT_CARDE" NUMBER(5, 2),
REM "RAT_CARDF" NUMBER(5, 2), "CHG_CARDE" NUMBER(14, 2), "CHG_CARDF"
REM NUMBER(14, 2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("CNT_CUST" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_COUP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_IVNM" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("TAX_INVM" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSC" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSF" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSG" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("MNY_MKSH" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("RAT_CARDE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("RAT_CARDF" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("CHG_CARDE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MKSALE" MODIFY ("CHG_CARDF" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MKSALE" ON "MKSALE" ("NUM_MKSA" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_MKSALE" ON "MKSALE" ("COD_MALL" , "DAT_MKSA" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MKSALE" ADD CONSTRAINT "PK_MKSALE" PRIMARY KEY
REM ("NUM_MKSA") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLITEM" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "QTY_RTND" NUMBER(12, 3),
REM "COD_MITEM" VARCHAR2(20) NOT NULL ENABLE, "QTY_ITMA" NUMBER(14, 3),
REM "MNY_ITMA" NUMBER(17, 4), "DAT_PROC" VARCHAR2(8), "UID_PROC"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLITEM" MODIFY ("QTY_RTND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLITEM" MODIFY ("QTY_ITMA" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MLITEM" MODIFY ("MNY_ITMA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLITEM" ON "MLITEM" ("MON_YM" ,
"COD_ITEM" , "COD_MITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLITEM" ADD CONSTRAINT "PK_MLITEM" PRIMARY KEY
REM ("MON_YM", "COD_ITEM", "COD_MITEM") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLMN" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "NUM_PS" VARCHAR2(12), "NUM_ORD" VARCHAR2(16) NOT NULL ENABLE,
REM "ROT_ORD" VARCHAR2(3) NOT NULL ENABLE, "STN_WORK" VARCHAR2(8) NOT
REM NULL ENABLE, "HUR_MENA" NUMBER(12, 4), "HUR_MENB" NUMBER(12, 4),
REM "HUR_MENC" NUMBER(12, 4), "HUR_MEND" NUMBER(12, 4), "HUR_MENE"
REM NUMBER(12, 4), "MNY_WORK" NUMBER(17, 4), "MNY_MTGT" NUMBER(17, 4),
REM "MNY_MTBK" NUMBER(17, 4), "MNY_MNBN" NUMBER(17, 4), "MNY_MNMR"
REM NUMBER(17, 4), "MNY_OMWK" NUMBER(17, 4), "MNY_OMMT" NUMBER(17, 4),
REM "MNY_HSUP" NUMBER(17, 4), "MNY_HRTN" NUMBER(17, 4), "HUR_FAC"
REM NUMBER(12, 4), "MNY_MSD" NUMBER(17, 4), "MNY_MSF" NUMBER(17, 4),
REM "QTY_RTNM" NUMBER(12, 3), "MNY_MCTL" NUMBER(17, 4), "DTM_INS"
REM VARCHAR2(14), "UID_INS" VARCHAR2(8), "DTM_UPD" VARCHAR2(14),
REM "UID_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("HUR_MENA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("HUR_MENB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("HUR_MENC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("HUR_MEND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("HUR_MENE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_WORK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MTGT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MTBK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MNBN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MNMR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_OMWK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_OMMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_HSUP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_HRTN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("HUR_FAC" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MSD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MSF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("QTY_RTNM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMN" MODIFY ("MNY_MCTL" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_MLMN" ON "MLMN" ("NUM_PS" , "NUM_ORD" ,
"ROT_ORD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLMN" ON "MLMN" ("MON_YM" , "NUM_PS" ,
"NUM_ORD" , "ROT_ORD" , "STN_WORK" ) PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLMN" ADD CONSTRAINT "PK_MLMN" PRIMARY KEY
REM ("MON_YM", "NUM_PS", "NUM_ORD", "ROT_ORD", "STN_WORK") USING INDEX
REM PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM ENABLE ;
REM CREATE TABLE "MFTEST"."MLMP" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "MNY_ITMO" NUMBER(17, 4),
REM "MNY_WRKO" NUMBER(17, 4), "MNY_MAKO" NUMBER(17, 4), "MNY_OUTO"
REM NUMBER(17, 4), "MNY_FIXO" NUMBER(17, 4), "QTY_STK" NUMBER(12, 3),
REM "REMARK" VARCHAR2(200)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLMP" MODIFY ("MNY_ITMO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMP" MODIFY ("MNY_WRKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMP" MODIFY ("MNY_MAKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMP" MODIFY ("MNY_OUTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMP" MODIFY ("MNY_FIXO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMP" MODIFY ("QTY_STK" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLMP" ON "MLMP" ("MON_YM" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLMP" ADD CONSTRAINT "PK_MLMP" PRIMARY KEY
REM ("MON_YM", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLMU" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "LLC" NUMBER(2, 0),
REM "QTY_RTND" NUMBER(12, 3), "MNY_WRKO" NUMBER(17, 4), "MNY_ITMO"
REM NUMBER(17, 4), "MNY_MAKO" NUMBER(17, 4), "MNY_OUTO" NUMBER(17, 4),
REM "MNY_WRKD" NUMBER(17, 4), "MNY_ITMD" NUMBER(17, 4), "MNY_MAKD"
REM NUMBER(17, 4), "MNY_OUTD" NUMBER(17, 4), "MNY_WRKA" NUMBER(17, 4),
REM "MNY_ITMA" NUMBER(17, 4), "MNY_MAKA" NUMBER(17, 4), "MNY_OUTA"
REM NUMBER(17, 4), "DTM_INS" VARCHAR2(14), "UID_INS" VARCHAR2(8),
REM "DTM_UPD" VARCHAR2(14), "UID_UPD" VARCHAR2(8)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("QTY_RTND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_WRKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_ITMO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_MAKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_OUTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_WRKD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_ITMD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_MAKD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_OUTD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_WRKA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_ITMA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_MAKA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMU" MODIFY ("MNY_OUTA" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLMU" ON "MLMU" ("MON_YM" , "COD_ITEM" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLMU" ADD CONSTRAINT "PK_MLMU" PRIMARY KEY
REM ("MON_YM", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLMW" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "NUM_PS" VARCHAR2(12) NOT NULL ENABLE, "QTY_RTND" NUMBER(12, 3),
REM "MNY_WRKB" NUMBER(17, 4), "MNY_ITMB" NUMBER(17, 4), "MNY_MAKB"
REM NUMBER(17, 4), "MNY_OUTB" NUMBER(17, 4), "MNY_WRK" NUMBER(17, 4),
REM "MNY_ITM" NUMBER(17, 4), "MNY_MAK" NUMBER(17, 4), "MNY_OUT"
REM NUMBER(17, 4), "MNY_WRKO" NUMBER(17, 4), "MNY_ITMO" NUMBER(17, 4),
REM "MNY_MAKO" NUMBER(17, 4), "MNY_OUTO" NUMBER(17, 4), "MNY_WRKE"
REM NUMBER(17, 4), "MNY_ITME" NUMBER(17, 4), "MNY_MAKE" NUMBER(17, 4),
REM "MNY_OUTE" NUMBER(17, 4), "DTM_INS" VARCHAR2(14), "UID_INS"
REM VARCHAR2(8), "DTM_UPD" VARCHAR2(14), "UID_UPD" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS
REM 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("QTY_RTND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_WRKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_ITMB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_MAKB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_OUTB" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_WRK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_MAK" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_OUT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_WRKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_ITMO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_MAKO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_OUTO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_WRKE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_ITME" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_MAKE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLMW" MODIFY ("MNY_OUTE" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_MLMW" ON "MLMW" ("NUM_PS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLMW" ON "MLMW" ("MON_YM" , "NUM_PS" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLMW" ADD CONSTRAINT "PK_MLMW" PRIMARY KEY
REM ("MON_YM", "NUM_PS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLOSD" ("NUM_LOS" VARCHAR2(12) NOT NULL
REM ENABLE, "LIN_LOS" VARCHAR2(3) NOT NULL ENABLE, "COD_ITEM"
REM VARCHAR2(20), "COD_LOS" VARCHAR2(2), "RST_LOS" VARCHAR2(2), "QTY_LOS"
REM NUMBER(12, 3), "COD_DPT" VARCHAR2(8), "REMARK" VARCHAR2(60),
REM "MNY_PRICS" NUMBER(15, 4), "MNY_LOS" NUMBER(15, 4), "STS_LOS"
REM VARCHAR2(2), "UNT_STK" VARCHAR2(3), "COD_QC" VARCHAR2(2), "COD_CUST"
REM VARCHAR2(13), "DAT_SYNC" VARCHAR2(8), "COD_LOC" VARCHAR2(10),
REM "SER_PCS" VARCHAR2(20), "NUM_DSC" VARCHAR2(12)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLOSD" MODIFY ("QTY_LOS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLOSD" MODIFY ("MNY_PRICS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MLOSD" MODIFY ("MNY_LOS" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLOSD" ON "MLOSD" ("NUM_LOS" , "LIN_LOS"
) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLOSD" ADD CONSTRAINT "PK_MLOSD" PRIMARY KEY
REM ("NUM_LOS", "LIN_LOS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLOSM" ("NUM_LOS" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_LOS" VARCHAR2(8), "DAT_KEYIN" VARCHAR2(8), "EMP_KEYIN"
REM VARCHAR2(8), "DPT_CTL" VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLOSM" ON "MLOSM" ("NUM_LOS" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLOSM" ADD CONSTRAINT "PK_MLOSM" PRIMARY KEY
REM ("NUM_LOS") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLVNM" ("TYP_LEV1" VARCHAR2(12) NOT NULL
REM ENABLE, "TYP_LEV2" VARCHAR2(4) NOT NULL ENABLE, "TYP_LEV3"
REM VARCHAR2(4) NOT NULL ENABLE, "NAM_LEV1" VARCHAR2(40), "NAM_LEV2"
REM VARCHAR2(40), "NAM_LEV3" VARCHAR2(40), "NAM_LEV" VARCHAR2(200),
REM "TYP_MLVN" VARCHAR2(2), "FOR_LEV2" VARCHAR2(1), "TYP_LEV4"
REM VARCHAR2(4) NOT NULL ENABLE, "TYP_LEV5" VARCHAR2(4) NOT NULL ENABLE,
REM "NAM_LEV4" VARCHAR2(40), "NAM_LEV5" VARCHAR2(40), "PS_LEV1"
REM VARCHAR2(20), "PS_LEV2" VARCHAR2(20), "PS_LEV3" VARCHAR2(20),
REM "PS_LEV4" VARCHAR2(20), "PS_LEV5" VARCHAR2(20)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLVNM" ON "MLVNM" ("TYP_LEV1" ,
"TYP_LEV2" , "TYP_LEV3" , "TYP_LEV4" , "TYP_LEV5" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MLVNM" ADD CONSTRAINT "PK_MLVNM" PRIMARY KEY
REM ("TYP_LEV1", "TYP_LEV2", "TYP_LEV3", "TYP_LEV4", "TYP_LEV5") USING
REM INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MLYM" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "COD_TYPE" VARCHAR2(1) NOT NULL ENABLE, "NUM_PS" VARCHAR2(12) NOT
REM NULL ENABLE, "MNY_HR" NUMBER(14, 6)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MLYM" MODIFY ("MNY_HR" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MLYM" ON "MLYM" ("MON_YM" , "COD_TYPE" ,
"NUM_PS" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MLYM" ADD CONSTRAINT "PK_MLYM" PRIMARY KEY
REM ("MON_YM", "COD_TYPE", "NUM_PS") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MMOD" ("NUM_MOD" VARCHAR2(24) NOT NULL ENABLE,
REM "COD_ITEM" VARCHAR2(20), "NUM_SER" VARCHAR2(30), "COD_DPT"
REM VARCHAR2(8), "COD_LOC" VARCHAR2(10), "DAT_GET" VARCHAR2(8), "DAT_VLD"
REM VARCHAR2(8), "DAT_CAL" VARCHAR2(8), "MOD_QC" VARCHAR2(2), "MOD_USE"
REM VARCHAR2(2), "DAT_LST" VARCHAR2(8), "TIM_CAN" NUMBER(11, 3),
REM "HUR_CAN" NUMBER(11, 3), "CNT_CAN" NUMBER(11, 3), "TIM_STT"
REM NUMBER(11, 3), "HUR_STT" NUMBER(11, 3), "CNT_STT" NUMBER(11, 3),
REM "GRP_PATH" VARCHAR2(60), "REMARK" VARCHAR2(100), "BRK_CAN" NUMBER(11,
REM 3), "BRK_STT" NUMBER(11, 3)) PCTFREE 10 PCTUSED 40 INITRANS 1
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("TIM_CAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("HUR_CAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("CNT_CAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("TIM_STT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("HUR_STT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("CNT_STT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("BRK_CAN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOD" MODIFY ("BRK_STT" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_MMOD" ON "MMOD" ("COD_ITEM" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MMOD" ON "MMOD" ("NUM_MOD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MMOD" ADD CONSTRAINT "PK_MMOD" PRIMARY KEY
REM ("NUM_MOD") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MMOS" ("NUM_MOD" VARCHAR2(24) NOT NULL ENABLE,
REM "NUM_APLY" VARCHAR2(12) NOT NULL ENABLE, "LIN_APLY" VARCHAR2(3) NOT
REM NULL ENABLE, "DAT_USE" VARCHAR2(8) NOT NULL ENABLE, "COD_DPT"
REM VARCHAR2(8), "HUR_USE" NUMBER(9, 3), "CNT_USE" NUMBER(9, 3), "NUM_PS"
REM VARCHAR2(12), "NUM_ORD" VARCHAR2(16), "ROT_ORD" VARCHAR2(2),
REM "BRK_USE" NUMBER(9, 3), "STS_MMOS" VARCHAR2(2)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MMOS" MODIFY ("HUR_USE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOS" MODIFY ("CNT_USE" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MMOS" MODIFY ("BRK_USE" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MMOS" ON "MMOS" ("NUM_MOD" , "NUM_APLY" ,
"LIN_APLY" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MMOS" ADD CONSTRAINT "PK_MMOS" PRIMARY KEY
REM ("NUM_MOD", "NUM_APLY", "LIN_APLY") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNETD" ("NUM_NETM" VARCHAR2(20) NOT NULL
REM ENABLE, "COD_ITEM" VARCHAR2(20) NOT NULL ENABLE, "SEQ_ITM" NUMBER(3,
REM 0), "PRS_ITM" NUMBER(14, 4), "DAT_BEG" VARCHAR2(8), "DAT_END"
REM VARCHAR2(8)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNETD" MODIFY ("SEQ_ITM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNETD" MODIFY ("PRS_ITM" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNETD" ON "MNETD" ("NUM_NETM" ,
"COD_ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MNETD" ADD CONSTRAINT "PK_MNETD" PRIMARY KEY
REM ("NUM_NETM", "COD_ITEM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNETM" ("NUM_NETM" VARCHAR2(20) NOT NULL
REM ENABLE, "TYP_LEV1" VARCHAR2(4) NOT NULL ENABLE, "TYP_LEV2"
REM VARCHAR2(4), "TYP_LEV3" VARCHAR2(4), "TYP_LEV4" VARCHAR2(4),
REM "TYP_LEV5" VARCHAR2(4), "NAM_LEV1" VARCHAR2(20), "NAM_LEV2"
REM VARCHAR2(20), "NAM_LEV3" VARCHAR2(20), "NAM_LEV4" VARCHAR2(20),
REM "NAM_LEV5" VARCHAR2(20), "NAM_LEV" VARCHAR2(100), "N_LEV" NUMBER(1,
REM 0), "BMP_LEV1" VARCHAR2(100), "BMP_LEV2" VARCHAR2(100), "BMP_LEV3"
REM VARCHAR2(100), "BMP_LEV4" VARCHAR2(100), "BMP_LEV5" VARCHAR2(100),
REM "DSP_LEV1" VARCHAR2(100), "DSP_LEV2" VARCHAR2(100), "DSP_LEV3"
REM VARCHAR2(100), "DSP_LEV4" VARCHAR2(100), "DSP_LEV5" VARCHAR2(100))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNETM" MODIFY ("N_LEV" DEFAULT 1) ;
CREATE UNIQUE INDEX "MFTEST"."IDX1_NETM" ON "MNETM" ("TYP_LEV1" ,
"TYP_LEV2" , "TYP_LEV3" , "TYP_LEV4" , "TYP_LEV5" ) PCTFREE 10 INITRANS 2
MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNETM" ON "MNETM" ("NUM_NETM" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MNETM" ADD CONSTRAINT "PK_MNETM" PRIMARY KEY
REM ("NUM_NETM") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNYH" ("MON_YM" VARCHAR2(6) NOT NULL ENABLE,
REM "STN_WORK" VARCHAR2(8) NOT NULL ENABLE, "MNY_HRM" NUMBER(11, 6),
REM "MNY_HRBN" NUMBER(11, 6), "MNY_HRMR" NUMBER(11, 6), "MNY_HRBM"
REM NUMBER(11, 6), "MNY_HRMO" NUMBER(11, 6), "MNY_HRMSD" NUMBER(11, 6),
REM "MNY_HRMSF" NUMBER(11, 6), "DTM_INS" VARCHAR2(14), "UID_INS"
REM VARCHAR2(8), "DTM_UPD" VARCHAR2(14), "UID_UPD" VARCHAR2(8),
REM "MON_YMSTD" VARCHAR2(6)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS
REM 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRBN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRMR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRBM" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRMO" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRMSD" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MNY_HRMSF" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYH" MODIFY ("MON_YMSTD" DEFAULT 'xxxxxx' ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNYH" ON "MNYH" ("MON_YM" , "STN_WORK" ,
"MON_YMSTD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MNYH" ADD CONSTRAINT "PK_MNYH" PRIMARY KEY
REM ("MON_YM", "STN_WORK", "MON_YMSTD") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNYRD" ("NUM_MNYR" VARCHAR2(15) NOT NULL
REM ENABLE, "DAT_PAYM" VARCHAR2(8) NOT NULL ENABLE, "COD_CUST"
REM VARCHAR2(10) NOT NULL ENABLE, "ITEM" VARCHAR2(4) NOT NULL ENABLE,
REM "LIN_WRT" VARCHAR2(6) NOT NULL ENABLE, "NUM_RFF" VARCHAR2(16),
REM "LIN_RFF" VARCHAR2(3), "AMT_WRT" NUMBER(13, 4), "NUM_ACCT"
REM VARCHAR2(10), "NUM_ACCTD" VARCHAR2(10), "STS_PROC" VARCHAR2(2),
REM "NUM_ARMM" VARCHAR2(15), "LIN_ARMD" VARCHAR2(5), "NUM_TCKET"
REM VARCHAR2(25), "DAT_WRT" VARCHAR2(8), "EMP_KEYIN" VARCHAR2(8),
REM "FRM_SYS" VARCHAR2(2), "NUM_PROD" VARCHAR2(12), "AMT_TOTNT"
REM NUMBER(17, 4), "LIN_COND" VARCHAR2(3), "MNY_COND" NUMBER(14, 4),
REM "AMT_WRTNT" NUMBER(17, 4), "AMT_WRTS2" NUMBER(13, 4), "NUM_ARAP"
REM VARCHAR2(12), "DTM_PROC" VARCHAR2(16), "REMARK" VARCHAR2(200),
REM "NUM_D1D2" VARCHAR2(12), "DAT_SYNC" VARCHAR2(8)) PCTFREE 10 PCTUSED
REM 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 22020096 FREELISTS 1
REM FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING
REM NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNYRD" MODIFY ("AMT_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRD" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRD" MODIFY ("MNY_COND" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRD" MODIFY ("AMT_WRTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRD" MODIFY ("AMT_WRTS2" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX6_MNYRD" ON "MNYRD" ("NUM_ARAP" , "NUM_ARMM" ,
"LIN_ARMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX5_MNYRD" ON "MNYRD" ("DAT_WRT" , "COD_CUST" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_MNYRD" ON "MNYRD" ("COD_CUST" , "NUM_ARMM" ,
"LIN_ARMD" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX3_MNYRD" ON "MNYRD" ("COD_CUST" , "NUM_RFF" ,
"LIN_RFF" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX4_MNYRD" ON "MNYRD" ("NUM_ARMM" , "LIN_ARMD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX1_MNYRD" ON "MNYRD" ("DAT_PAYM" , "COD_CUST" ,
"ITEM" , "LIN_WRT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL
7340032 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
"MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNYRD" ON "MNYRD" ("NUM_MNYR" , "ITEM" ,
"LIN_WRT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX7_MNYRD" ON "MNYRD" ("NUM_PROD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 131072 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MNYRD" ADD CONSTRAINT "PK_MNYRD" PRIMARY KEY
REM ("NUM_MNYR", "ITEM", "LIN_WRT") USING INDEX PCTFREE 10 INITRANS 2
REM MAXTRANS 255 STORAGE(INITIAL 7340032 FREELISTS 1 FREELIST GROUPS 1
REM BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNYRH" ("NUM_OPP" VARCHAR2(12) NOT NULL
REM ENABLE, "NUM_MNYR" VARCHAR2(12), "DAT_PAYM" VARCHAR2(8), "COD_CUST"
REM VARCHAR2(10), "ITEM" VARCHAR2(4), "LIN_WRT" VARCHAR2(6), "NUM_ARMM"
REM VARCHAR2(12), "LIN_ARMD" VARCHAR2(5), "NUM_TCKET" VARCHAR2(25),
REM "NUM_RFF" VARCHAR2(16), "LIN_RFF" VARCHAR2(3), "AMT_WRT" NUMBER(13,
REM 4), "NUM_ACCT" VARCHAR2(10), "NUM_ACCTD" VARCHAR2(10), "STS_PROC"
REM VARCHAR2(2), "DAT_OPP" VARCHAR2(8), "TIM_OPP" VARCHAR2(8), "EMP_OPP"
REM VARCHAR2(8), "NUM_ARAP" VARCHAR2(12), "DAT_WRT" VARCHAR2(8)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 3145728
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNYRH" MODIFY ("AMT_WRT" DEFAULT 0) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNYRH" ON "MNYRH" ("NUM_OPP" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 655360 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MNYRH" ADD CONSTRAINT "PK_MNYRH" PRIMARY KEY
REM ("NUM_OPP") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 655360 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNYRM" ("NUM_MNYR" VARCHAR2(12) NOT NULL
REM ENABLE, "DAT_PAYM" VARCHAR2(8), "COD_CUST" VARCHAR2(10), "ITEM"
REM VARCHAR2(4), "MNY_AMT" NUMBER(14, 4), "CLS_PAYM" VARCHAR2(2),
REM "NUM_TCKET" VARCHAR2(12), "MNY_WRT" NUMBER(14, 4), "COD_BANK"
REM VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "COD_DOLA" VARCHAR2(3),
REM "VAL_RATE" NUMBER(9, 4), "MNY_DOLA" NUMBER(14, 4), "DAT_DUE"
REM VARCHAR2(8), "COD_SBANK" VARCHAR2(3), "COD_SBRAN" VARCHAR2(10),
REM "S_ACNO" VARCHAR2(24), "COD_DACC" VARCHAR2(10), "XF2ACIO"
REM VARCHAR2(1), "XF2VMAN" VARCHAR2(1), "NUM_PROD" VARCHAR2(12),
REM "EMP_KEYIN" VARCHAR2(8), "EMP_RCV" VARCHAR2(8), "NUM_CNTL"
REM VARCHAR2(16), "REMARK" VARCHAR2(400), "COD_DOLAR" VARCHAR2(3),
REM "VAL_RATER" NUMBER(9, 4), "MNY_DOLAR" NUMBER(14, 4), "F_ACC"
REM VARCHAR2(24), "NUM_SEND" VARCHAR2(12), "COD_DPT" VARCHAR2(8),
REM "COD_RST" VARCHAR2(6), "DAT_REMIT" VARCHAR2(8), "NUM_CASE"
REM VARCHAR2(16), "NUM_CARD" VARCHAR2(16), "RUN_TURN" VARCHAR2(3),
REM "NUM_PO" VARCHAR2(16), "MNY_OVER" NUMBER(14, 4), "MNY_COUP"
REM NUMBER(14, 4), "CLS_TRN" VARCHAR2(2), "FULL_CARD" VARCHAR2(400),
REM "QTY_CBOS" NUMBER(11, 3), "PS1" VARCHAR2(400), "TYP_CHK" VARCHAR2(2),
REM "ENDAT_CHK" VARCHAR2(8), "NUM_ARMM" VARCHAR2(12), "LIN_ARMD"
REM VARCHAR2(3), "DAT_SYNC" VARCHAR2(8), "YN_2ACIO" VARCHAR2(1),
REM "DTM_2ACIO" VARCHAR2(14), "UID_2ACIO" VARCHAR2(8), "MNY_2ACIO"
REM NUMBER(14, 4), "PS2" VARCHAR2(400), "DTM_UPD" VARCHAR2(12), "UID_UPD"
REM VARCHAR2(8), "DTM_CANCEL" VARCHAR2(14), "UID_CANCEL" VARCHAR2(8),
REM "MNY_DOLARO" NUMBER(14, 4), "MNY_DOLAO" NUMBER(14, 4), "MNY_AMTO"
REM NUMBER(14, 4), "QTY_CBOSO" NUMBER(11, 3), "STS_MNYRM" VARCHAR2(2),
REM "EDC_RECNO" VARCHAR2(6), "APPR_NO" VARCHAR2(9)) PCTFREE 10 PCTUSED 40
REM INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 2097152 FREELISTS 1 FREELIST
REM GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_AMT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_DOLA" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("VAL_RATER" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_DOLAR" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_OVER" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_COUP" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("QTY_CBOS" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_2ACIO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_DOLARO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_DOLAO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("MNY_AMTO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("QTY_CBOSO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRM" MODIFY ("STS_MNYRM" DEFAULT '00' ) ;
CREATE INDEX "MFTEST"."IDX1_MNYRM" ON "MNYRM" ("DAT_PAYM" , "COD_CUST" ,
"ITEM" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 458752
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX2_MNYRM" ON "MNYRM" ("COD_BANK" , "NUM_TCKET" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNYRM" ON "MNYRM" ("NUM_MNYR" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_MNYRM" ON "MNYRM" ("COD_CUST" , "NUM_PO" ,
"CLS_TRN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 262144
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX5_MNYRM" ON "MNYRM" ("NUM_PO" , "CLS_TRN" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX6_MNYRM" ON "MNYRM" ("NUM_PROD" ) PCTFREE 10
INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 393216 FREELISTS 1 FREELIST GROUPS
1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX7_MNYRM" ON "MNYRM" ("COD_DPT" , "DAT_PAYM" ,
"RUN_TURN" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 393216
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
REM ALTER TABLE "MFTEST"."MNYRM" ADD CONSTRAINT "PK_MNYRM" PRIMARY KEY
REM ("NUM_MNYR") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 262144 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNYRMX" ("NUM_MNYX" VARCHAR2(12) NOT NULL
REM ENABLE, "GRP_MNYX" VARCHAR2(20), "NUM_MNYR" VARCHAR2(12), "NUM_SEND"
REM VARCHAR2(12), "DAT_PAYM" VARCHAR2(8), "DAT_REMIT" VARCHAR2(8),
REM "COD_CUST" VARCHAR2(10), "ITEM" VARCHAR2(4), "COD_DOLAR" VARCHAR2(3),
REM "VAL_RATER" NUMBER(9, 4), "MNY_DOLAR" NUMBER(14, 4), "COD_DOLA"
REM VARCHAR2(3), "VAL_RATE" NUMBER(9, 4), "MNY_DOLA" NUMBER(14, 4),
REM "MNY_AMT" NUMBER(14, 4), "CLS_PAYM" VARCHAR2(2), "COD_BANK"
REM VARCHAR2(3), "COD_BRANCH" VARCHAR2(10), "F_ACC" VARCHAR2(24),
REM "NUM_TCKET" VARCHAR2(12), "DAT_DUE" VARCHAR2(8), "TYP_CHK"
REM VARCHAR2(2), "ENDAT_CHK" VARCHAR2(8), "COD_SBANK" VARCHAR2(3),
REM "COD_SBRAN" VARCHAR2(10), "S_ACNO" VARCHAR2(24), "XF2ACIO"
REM VARCHAR2(1), "XF2VMAN" VARCHAR2(1), "NUM_PROD" VARCHAR2(12),
REM "MNY_WRT" NUMBER(14, 4), "EMP_KEYIN" VARCHAR2(8), "EMP_RCV"
REM VARCHAR2(8), "COD_DPT" VARCHAR2(8), "NUM_CASE" VARCHAR2(16),
REM "RUN_TURN" VARCHAR2(3), "COD_DACC" VARCHAR2(10), "COD_RST"
REM VARCHAR2(6), "NUM_CNTL" VARCHAR2(16), "REMARK" VARCHAR2(400),
REM "NUM_CARD" VARCHAR2(16), "CLS_TRN" VARCHAR2(2), "NUM_PO"
REM VARCHAR2(16), "MNY_OVER" NUMBER(14, 4), "MNY_COUP" NUMBER(14, 4),
REM "FULL_CARD" VARCHAR2(400), "QTY_CBOS" NUMBER(11, 3), "PS1"
REM VARCHAR2(400), "PS2" VARCHAR2(400), "NUM_ARMM" VARCHAR2(12),
REM "LIN_ARMD" VARCHAR2(3), "DAT_SYNC" VARCHAR2(8), "YN_2ACIO"
REM VARCHAR2(1), "MNY_2ACIO" NUMBER(14, 4), "DTM_2ACIO" VARCHAR2(14),
REM "UID_2ACIO" VARCHAR2(8), "DTM_UPD" VARCHAR2(14), "UID_UPD"
REM VARCHAR2(8), "DTM_CANCEL" VARCHAR2(14), "UID_CANCEL" VARCHAR2(8),
REM "MNY_DOLARO" NUMBER(14, 4), "MNY_DOLAO" NUMBER(14, 4), "MNY_AMTO"
REM NUMBER(14, 4), "QTY_CBOSO" NUMBER(11, 3), "STS_MNYRM" VARCHAR2(2))
REM PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("VAL_RATER" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_DOLAR" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("VAL_RATE" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_DOLA" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_AMT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_WRT" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_OVER" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_COUP" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("QTY_CBOS" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_2ACIO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_DOLARO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_DOLAO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("MNY_AMTO" DEFAULT 0 ) ;
REM ALTER TABLE "MFTEST"."MNYRMX" MODIFY ("QTY_CBOSO" DEFAULT 0 ) ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNYRMX" ON "MNYRMX" ("NUM_MNYX" ) PCTFREE
10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST
GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
REM ALTER TABLE "MFTEST"."MNYRMX" ADD CONSTRAINT "PK_MNYRMX" PRIMARY KEY
REM ("NUM_MNYX") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
REM STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
REM DEFAULT) TABLESPACE "MF2000" LOGGING ENABLE ;
REM CREATE TABLE "MFTEST"."MNYRS" ("NUM_MNYR" VARCHAR2(12) NOT NULL
REM ENABLE, "ITEM" VARCHAR2(4) NOT NULL ENABLE, "DAT_PAYM" VARCHAR2(8),
REM "COD_CUST" VARCHAR2(10), "NUM_ARMM" VARCHAR2(12), "LIN_ARMD"
REM VARCHAR2(5), "NUM_TCKET" VARCHAR2(25), "NUM_RFF" VARCHAR2(16),
REM "LIN_RFF" VARCHAR2(3), "AMT_WRT" NUMBER(13, 4), "AMT_WRTNT"
REM NUMBER(14, 4), "COD_ACC" VARCHAR2(10), "EMP_KEYIN" VARCHAR2(8),
REM "DAT_WRT" VARCHAR2(8), "XF2MNYRD" VARCHAR2(1), "MNY_BALN" NUMBER(14,
REM 4), "REMARK" VARCHAR2(40), "AMT_TOTNT" NUMBER(14, 4), "COD_CLOSE"
REM VARCHAR2(1), "LIN_WRT" VARCHAR2(4), "PR_BALS" VARCHAR2(1), "FROM_PR"
REM VARCHAR2(1), "NUM_MNYRO" VARCHAR2(12), "ITEMO" VARCHAR2(4),
REM "COD_DOLA" VARCHAR2(3), "EMP_XFIN" VARCHAR2(8), "DAT_XFIN"
REM VARCHAR2(8), "NUM_DEL" VARCHAR2(16), "LIN_DEL" VARCHAR2(3),
REM "AMT_WRTS2" NUMBER(14, 4), "PR_BALSTX" VARCHAR2(1), "COD_RST"
REM VARCHAR2(6), "CLS_ARMM" VARCHAR2(3), "CLS_2ARMM" VARCHAR2(3)) PCTFREE
REM 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 24117248
REM FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE
REM "MF2000" LOGGING NOCOMPRESS ;
REM ALTER TABLE "MFTEST"."MNYRS" MODIFY ("AMT_WRT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRS" MODIFY ("AMT_WRTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRS" MODIFY ("MNY_BALN" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRS" MODIFY ("AMT_TOTNT" DEFAULT 0) ;
REM ALTER TABLE "MFTEST"."MNYRS" MODIFY ("LIN_WRT" DEFAULT '0001') ;
REM ALTER TABLE "MFTEST"."MNYRS" MODIFY ("AMT_WRTS2" DEFAULT 0) ;
CREATE INDEX "MFTEST"."IDX1_MNYRS" ON "MNYRS" ("NUM_MNYRO" , "ITEMO" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX2_MNYRS" ON "MNYRS" ("NUM_ARMM" , "LIN_ARMD" )
PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 5242880 FREELISTS 1
FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000" LOGGING ;
CREATE INDEX "MFTEST"."IDX3_MNYRS" ON "MNYRS" ("COD_CUST" , "NUM_RFF" ,
"LIN_RFF" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 6291456
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE UNIQUE INDEX "MFTEST"."PK_MNYRS" ON "MNYRS" ("NUM_MNYR" , "ITEM" ,
"LIN_WRT" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 7340032
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "MF2000"
LOGGING ;
CREATE INDEX "MFTEST"."IDX4_MNYRS" ON "MNYRS" ("