 EXEC P_ALTERPK 'PK_HRCS_NEEDDELETETASKLOG', 'T_HRCS_NEEDDELETETASKLOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_NEEDDTASKLOG_FSCID') CREATE INDEX IDX_HRCS_NEEDDTASKLOG_FSCID ON T_HRCS_NEEDDELETETASKLOG ( FSCHEDULEID );

