你看看我在oracle中的语句:
INSERT INTO DSMIS_CHECK_REGISTER
SELECT CONCAT(DCR_JOB,'COPY1'),DCR_CCSNO,DCR_PROPOSER,sysdate ,
DCR_START,DCR_END,DCR_PLACE,DCR_DEPT,DCR_OVER,DCR_CHECKTYPE,
DCR_PERPHONE,DCR_SHIP,DCR_DRAWNO,DCR_CLASS,DCR_MTYPE,DCR_TYPE,
DCR_AREA,DCR_LENGTH,DCR_TONN,DCR_SDEPT,DCR_STATE,DCR_ODATE,
DCR_SUVEYOR,DCR_DWTON,DCR_DOCK,DCR_MEMO,DCR_WSDATE,DCR_DDATE,
DCR_TDATE,DCR_FDATE,DCR_SDATE,DCR_FLAG,DCR_SHPRO,DCR_BJPRO
FROM DSMIS_CHECK_REGISTER where
dcr_applydate >= to_date('2007-9','yyyy-mm')
and dcr_applydate <= to_date('2007-10','yyyy-mm'); |