sql to char function with date
snippet in sql

sql to char function with date

user4126

SELECT
  TO_CHAR( sysdate, 'YYYY-MM-DD' )
FROM
  dual;