 EXEC P_ALTERPK 'PK_T_BCM_STATUS', 'T_BCM_STATUS', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_STATUS_SYPC') CREATE INDEX IDX_BCM_STATUS_SYPC ON T_BCM_STATUS ( FSCENARIO ,FYEAR ,FPERIOD ,FCURRENCY ,FORG );