Answers for "sql convert datetime to yyyy-mm-dd hh:mm:ss"

SQL
-1

SQL query to convert DD/MM/YYYY to YYYY-MM-DD

SELECT CONVERT(varchar(10), CONVERT(date, '13/12/2016', 103), 120)
Posted by: Guest on August-04-2020
0

sql convert date to string yyyy-mm-dd

select CONVERT(char(10), GetDate(),126)
/* 2020-12-23 */
Posted by: Guest on December-23-2020

Code answers related to "sql convert datetime to yyyy-mm-dd hh:mm:ss"

Code answers related to "SQL"

Browse Popular Code Answers by Language