Commit bcc72eb7 authored by manohar's avatar manohar

tablespace included in DDL


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96140 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8cc3203c
CREATE TABLE SRETURN_AMD
(
TRAN_ID CHAR(10) PRIMARY KEY not null,
TRAN_ID CHAR(10) not null,
TRAN_DATE DATE not null,
REF_ID CHAR(10) not null,
REF_DATE DATE not null,
......@@ -26,9 +26,9 @@ CONF_DATE DATE,
CONSTRAINT fk_REF_ID
FOREIGN KEY (REF_ID)
REFERENCES SRETURN(TRAN_ID)
);
INSERT INTO ITM2MENU
) tablespace itm_dis_d2;
alter table SRETURN_AMD add constraint SRETURN_AMD_x primary key (tran_id) using index tablespace itm_dis_i1;
/*INSERT INTO ITM2MENU
(
APPLICATION,
LEVEL_1,
......@@ -64,15 +64,15 @@ VALUES
null,
null
);
*/
update itm2menu set win_name = 'w_sreturn_amd' where application = 'DIS' and LEVEL_1 = 4 and LEVEL_2 = 42 and LEVEL_3 = 0 and LEVEL_4 = 0 and LEVEL_5 = 0;
INSERT INTO TRANSETUP
(TRAN_WINDOW,SAVE_FLAG,VAL_FLAG,KEY_FLAG,KEY_STRING,REPEATE_ADD,CHG_DATE,CHG_USER,CHG_TERM,
EDI_OPTION,SITE_ACC_COL,CONFIRM_COL,CONFIRM_VAL,LEDG_POST_CONF,CHG_DATE_ON_CONF,TRAN_ID_COL,
CONFIRM_MODE,MAIL_OPTION,GARBAGE_OPT,REF_SER,VIEW_MODE)
VALUES
('w_sreturn_amd','2','2','A','site_code,tran_date,seq04','Y',sysdate,'BASE','BASE',
('w_sreturn_amd','2','2','A','_spsite_code,_pptran_date,seq04','Y',sysdate,'BASE','BASE',
'0','SITE_CODE','confirmed','Y','N','Y','TRAN_ID',
'0','0','N','S-STK',null);
......@@ -450,3 +450,5 @@ sysdate,
'base',
'base'
);
commit;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment