ORACLE·sql

sysdate

administrators 2009. 12. 11. 15:23

SELECT
    SYSDATE
FROM DUAL

 

 

 

SELECT
    TO_CHAR( SYSDATE, 'yyyy.MM.dd') c_date
FROM DUAL

 

 

SELECT
    TO_CHAR (
             TO_DATE (
                      '20091025' || '000001', 'YYYY-MM-DD HH24:MI:SS'),
                      'yyyy.MM.dd'
            ) c_date
FROM DUAL

'ORACLE·sql' 카테고리의 다른 글

DBMS_LOB select   (0) 2009.12.11
LPAD, RPAD  (0) 2009.12.11
Random  (0) 2009.12.11
long length를 to_lob으로 해결하기  (0) 2009.09.16
DBMS_LOB  (0) 2009.09.16