/**Begin D:\git\pdm\pdm_upgrade\PDM1\ER_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_ER_PAYEEUSER_BASEID2') CREATE INDEX IDX_ER_PAYEEUSER_BASEID2 ON T_ER_PAYEEUSER ( FBASEDATAID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TRIPSYNCLOG_BILLID') CREATE INDEX IDX_TRIPSYNCLOG_BILLID ON T_ER_TRIPSYNCLOG ( FBILLID ,FSERVER ,FSTATUS );


/**End D:\git\pdm\pdm_upgrade\PDM1\ER_constraint.sql **/
