Answers for "sql server get date as date"

SQL
1

sql display today's date

SELECT getdate()
Posted by: Guest on April-28-2020
0

convertir datetime a date

declare @fecha datetime 

set @fecha = GETDATE()

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

Code answers related to "SQL"

Browse Popular Code Answers by Language