IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_PAYMENTBILLENTRY_FSOURCEBILLID') CREATE INDEX IDX_CAS_PAYMENTBILLENTRY_FSOURCEBILLID ON T_CAS_PAYMENTBILLENTRY ( FSOURCEBILLID );
