 EXEC P_ALTERPK 'PK_T_CAS_BALANCE_UPGRADE', 'T_CAS_BALANCE_UPGRADE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_CAS_BALUPGRADE') CREATE UNIQUE INDEX IDX_CAS_BALUPGRADE ON T_CAS_BALANCE_UPGRADE ( FORGID ,FTYPE );


