1. 程式人生 > >資料庫匯入匯出資料以及欄位型別為timestamp時的設值問題

資料庫匯入匯出資料以及欄位型別為timestamp時的設值問題

export to ./tbl_zzf_order.del of del select ORDER_ID, USER_ID, AMOUNT, MERCHANT, ORDER_ST, REC_UPD_TS, REC_CRT_TS FROM TBL_ZZF_ORDER where REC_UPD_TS between timestamp('2017-01-01 00:00:00') and timestamp('2017-09-18 23:59:59') and ORDER_ST in ('01','03') with ur;

import from ./tbl_zzf_order.del of del insert into TBL_ZZF_ORDER (ORDER_ID, USER_ID, AMOUNT, MERCHANT, ORDER_ST, REC_UPD_TS, REC_CRT_TS);