From 8e170c257d86c0321bedcc68bc508d033d091caa Mon Sep 17 00:00:00 2001 From: Alawn Date: Tue, 9 Mar 2021 14:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E5=A2=9E=E5=8A=A0=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cap/sql/cre_cap.sql | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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