/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
EXEC p_DropIdx 'IDX_CAS_BJ_CLU', 'T_CAS_BANKJOURNAL';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_BJ_CLU') CREATE   INDEX IDX_CAS_BJ_CLU ON T_CAS_BANKJOURNAL ( FBIZDATE ,FCREDITAMOUNT ,FDEBITAMOUNT );

EXEC p_DropIdx 'IDX_CAS_BS_CLU', 'T_CAS_BANKSTATEMENT';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_BS_CLU') CREATE   INDEX IDX_CAS_BS_CLU ON T_CAS_BANKSTATEMENT ( FBIZDATE ,FDEBITAMOUNT ,FCREDITAMOUNT );


/**End D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/