日期处理
查询:select to_char(字段名,'yyyy-mm-dd hh24:mi:ss') as time from 表名
select to_date(sysdate,'yyyy-mm-dd hh:24:mi:ss') as time from dual; //系统时间
select to_date('2009-9-8 16:08:00','yyyy-mm-dd hh24:mi:ss') from dual
日期处理
查询:select to_char(字段名,'yyyy-mm-dd hh24:mi:ss') as time from 表名
select to_date(sysdate,'yyyy-mm-dd hh:24:mi:ss') as time from dual; //系统时间
select to_date('2009-9-8 16:08:00','yyyy-mm-dd hh24:mi:ss') from dual