Answers for "sql convert day month year to date"

SQL
1

sql convert datetime to year month

DATE_FORMAT(_column, '%Y-%m')AS `yyyy-mm`,
Posted by: Guest on February-25-2021
0

sql convert datetime to year

select YEAR(getdate())
/* 2020 */
Posted by: Guest on December-23-2020

Code answers related to "sql convert day month year to date"

Code answers related to "SQL"

Browse Popular Code Answers by Language