The field DATE in the database has the following format:
2012-11-12 00:00:00
I would like to remove the time from the date and return the d
TSQL
SELECT CONVERT(DATE, GETDATE()) // 2019-09-19 SELECT CAST(GETDATE() AS DATE) // 2019-09-19 SELECT CONVERT(VARCHAR, GETDATE(), 23) // 2019-09-19