/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
EXEC P_ALTERPK 'PK_T_CAS_RECOPLOGBILL', 'T_CAS_RECOPLOGBILL', 'FID', '1';

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_RECOPLOGBILL_ENTRYID') CREATE INDEX IDX_CAS_RECOPLOGBILL_ENTRYID ON T_CAS_RECOPLOGBILL ( FENTRYID );

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_RECOPLOGBILL_RECID') CREATE INDEX IDX_CAS_RECOPLOGBILL_RECID ON T_CAS_RECOPLOGBILL ( FRECBILLID );



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