 EXEC P_ALTERPK 'PK_T_RIM_CLASS_BILL', 'T_RIM_CLASS_BILL', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_CLASS_BILL') CREATE INDEX IDX_RIM_CLASS_BILL ON T_RIM_CLASS_BILL ( FID );
