Ramco Ramco

Ramco Ramco

  • 428
  • 3.5k
  • 568.7k

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)