Answers for "get only date sql"

SQL
0

sql getdate date only

-- MS SQL Server
SELECT CAST(getdate() AS date);
SELECT CAST(getdate() AS varchar(10));
Posted by: Guest on March-26-2021
2

sql datetime as date

SELECT 
    CONVERT(DATE, GETDATE()) date;
Posted by: Guest on August-20-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language