/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SCH_TASK_ENDTIME') CREATE INDEX IDX_SCH_TASK_ENDTIME ON T_SCH_TASK ( FENDTIME );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SCH_TASK_DISPATCHTIME') CREATE INDEX IDX_SCH_TASK_DISPATCHTIME ON T_SCH_TASK ( FDISPATCHTIME );


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_constraint.sql **/
