Answers for "to_char sql"

SQL
3

sql to char

TO_CHAR( sysdate, 'YYYY-MM-DD' )

/*TO_CHAR Format Specifiers

YYYY			4-digit year
YY				2-digit year
MON				Abbreviated month (Jan - Dec)
MONTH			Month name (January - December)
MM				Month (1 - 12)
DY				Abbreviated day (Sun - Sat)
DD				Day (1 - 31)
HH24			Hour (0 - 23)
HH or HH12		Hour (1 - 12)
MI				Minutes (0 - 59)
SS				Seconds (0 - 59)*/
Posted by: Guest on November-27-2020
2

sql to char function with date

SELECT
  TO_CHAR( sysdate, 'YYYY-MM-DD' )
FROM
  dual;
Posted by: Guest on March-07-2020
0

to_char sql

SELECT TO_CHAR(sysdate, 'DD-MM-YYYY') from dual;
Posted by: Guest on June-23-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language