 EXEC P_ALTERPK 'PK_HBSS_CLOUD', 'T_HBSS_CLOUD', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HBSS_CLOUD') CREATE INDEX IDX_HBSS_CLOUD ON T_HBSS_CLOUD ( FCLOUDID );