如题。。

解决方案 »

  1.   

    select to_date('20050826 174521','yyyymmdd hh24miss')+1/24/2 from dual
      

  2.   

    其实是
    select to_date('20050826 174521','yyyymmdd hh24miss')+1/24/60*a from dual
    a是分钟数,这里是30
      

  3.   

    方法1:
    SQL> select to_date('20050826 174521','yyyymmdd hh24miss') + 1/24/2 from dual;
    方法2:
    SQL> select to_date('20050826 174521','yyyymmdd hh24miss') + interval '30' minite from dual;
    方法3:
    SQL> select to_date('20050826 174521','yyyymmdd hh24miss') + numtodsinterval(10,'minite') from dual;
    方法4:
    SQL> select to_date('20050826 174521','yyyymmdd hh24miss') + to_dsinterval('0 0:30:0') from dual;