Ramco Ramco

Ramco Ramco

  • 443
  • 3.4k
  • 526.6k

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)