본문 바로가기
프로그래밍/Oracle

Oracle 날짜비교

by Daily Investing 2011. 1. 9.
반응형

SELECT * FROM TB_USER
WHERE TO_CHAR(REQ_DATE, 'YYYYMMDDHH24MISS') > '20100813050101'
ORDER BY REQ_DATE

 select to_char(systimestamp, 'YYYYMMDDHH24MISS.FF6') from dual

반응형