Insert into JHAC_TB_CODE
(CID,CODE,ADD_TIME,USERID,PRO_CODE,USERNAME)
select
f_code.FID,f_code.Fcode,f_code.ADDDATE,f_code.USERS,f_code.CPCODE,f_code.USERNAME
from f_code
where f_code.Adddate between to_date('201201','yyyy-mm') and to_date('201301','yyyy-mm')