oracle8.0 select to_char(sysdate,'YYYY-MM-DD') from dual