SQL, чтобы Char Function с датой
SELECT
TO_CHAR( sysdate, 'YYYY-MM-DD' )
FROM
dual;
True Blue
SELECT
TO_CHAR( sysdate, 'YYYY-MM-DD' )
FROM
dual;