Answers for "sql datetime to date"

SQL
2

sql datetime as date

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

convertir datetime a date

declare @fecha datetime 

set @fecha = GETDATE()

select convert(date ,@fecha)
Posted by: Guest on May-25-2020
0

sql server format datetime to short date

CONVERT ( data_type [ ( length ) ] , expression [ , style ] )
Posted by: Guest on June-17-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language