Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.3k

how the below syntax works

Sep 27 2023 5:08 AM

Hi

  How the below Syntax works

cast(DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0) as date)

Sales.refdate<cast(DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0) as date)

 

Thanks


Answers (1)