EXEC P_ALTERPK 'PK_T_IM_TASKCOLLABORATE', 'T_IM_TASKCOLLABORATE', 'FID', '1';

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_TASKCOLL_BILLID') CREATE INDEX IDX_IM_TASKCOLL_BILLID ON T_IM_TASKCOLLABORATE ( FBILLID );