Have migrated my database from mysql to SQL Server. When I run my query I get the error:
'DATE_FORMAT' is not a recognized built-in function name.
This is the query, where I am trying to convert the date as it's saved in the database 2014/03/03 to 03/03/2014 (D-M-Y).
This is the query:
DATE_FORMAT(routines.date, '%d/%m/%Y') as Dato
VARCHAR(aka strings). Choose an appropriate data type (DATE,DATETIME,SMALLDATETIME, etc) and perform date formatting at the application level.