 EXEC P_ALTERPK 'PK_HRCS_NEEDDELETETASK', 'T_HRCS_NEEDDELETETASK', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_NEEDTASK_FSCHEDULE') CREATE INDEX IDX_HRCS_NEEDTASK_FSCHEDULE ON T_HRCS_NEEDDELETETASK ( FSCHEDULE );

