diff --git a/cap/sql/cre_cap.sql b/cap/sql/cre_cap.sql index 197004c..bb63c36 100644 --- a/cap/sql/cre_cap.sql +++ b/cap/sql/cre_cap.sql @@ -646,9 +646,7 @@ create table CAPDAYPROFIT create table CAPSMSLST ( - USR_ID VARCHAR2(50) not null - constraint CAPSMSLST_PK - primary key, + USR_ID VARCHAR2(50) not null constraint CAPSMSLST_PK primary key, EVT_TYP VARCHAR2(30) not null, ROL_TYP VARCHAR2(10) not null, MERC_ID VARCHAR2(10), @@ -660,6 +658,11 @@ create table CAPSMSLST ) / +create index CAPSMSLST_NI1 + on CAPSMSLST (EVT_TYP,ROL_TYP) +/ + + create table CAPEVTRLR ( EVT_TYP VARCHAR2(30) not null