insert into tb2(colname) select to_date(date1||time1,'yyyymmddhh24miss') from tbname;

解决方案 »

  1.   

    colname字段为date类型insert into tb2(colname) select to_date(date1||time1,'yyyy-mm-dd hh24:mi:ss') from tbname;
      

  2.   

    可以查看一下 PLSQL 文档,要干 ORACLE,早晚要看的.
      

  3.   

    ding
    以上两种格式都可以的吧
      

  4.   

    insert into 表2(字段) select to_date(date_value||time_value,'yyyy-mm-dd hh24:mi:ss') from 表1;