/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SYS_table.sql **/
INSERT INTO T_SCH_JOB_N (FID) SELECT DISTINCT FID from T_SCH_JOB WHERE FID NOT IN (SELECT t1.FID FROM T_SCH_JOB_N t1 LEFT JOIN T_SCH_JOB t2 ON t1.FID = t2.FID);

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