SET OUTPUT D:\JT_GP_REPORT_EXP.dat; /*迁出数据文件*/ SET LOG D:\JT_GP_REPORT.log;/*迁出日志文件*/
--导出脚本 EXPORT PS_NB_SALRPT_SET WHERE TEMPLATE_ID IN ('1','CHN_01_DEFAULT','CHN_02_DEFAULT','CHN_03_DEFAULT','CHN_ANHUI','CHN_FUJIAN','CHN_GUANGZHOU','CHN_HAINAN','CHN_MONTH_JX','CHN_SICHUAN','CHN_XXG','CHN_YEAR_JX');
导入脚本
1 2 3 4 5 6 7
SET INPUT C:\Users\ex_zhaolong\Desktop\PS_LH_PIN_ITEM_TBL_EXP.dat;/*对应迁出数据文件*/ SET LOG C:\Users\ex_zhaolong\Desktop\PS_LH_PIN_ITEM_TBL.log;/*迁入日志文件*/
--删除之前的配置 DELETEFROM PS_NB_SALRPT_SET WHERE TEMPLATE_ID IN ('1','CHN_01_DEFAULT','CHN_02_DEFAULT','CHN_03_DEFAULT','CHN_ANHUI','CHN_FUJIAN','CHN_GUANGZHOU','CHN_HAINAN','CHN_MONTH_JX','CHN_SICHUAN','CHN_XXG','CHN_YEAR_JX');