常用SQL。
Java代码





- select to_date(’2013-04-17 13:23:44′,’yyyy-mm-dd hh24:mi:ss’) from dual
select to_date('2013-04-17 13:23:44','yyyy-mm-dd hh24:mi:ss') from dual
to_date(’2013-04-17′,’yyyy-mm-dd’)
Java代码





- delete game_report.TBL_GAME_BYDAY where count_date >= TRUNC(SYSDATE-1,’DD’);