Función SQL a Char con fecha
SELECT
TO_CHAR( sysdate, 'YYYY-MM-DD' )
FROM
dual;
True Blue
SELECT
TO_CHAR( sysdate, 'YYYY-MM-DD' )
FROM
dual;
SELECT TO_CHAR(sysdate, 'DD-MM-YYYY') from dual;