I wish to find all records of the current day. I have a field Date of type DATE. I am getting error on sql server
\'DATE\' is not a recognized built-in funct
More efficient one is
WHERE EnterDate > DATEADD(dd, -1, DATEDIFF(dd, 0, GETDATE()))
Thanks @D Stanley @marc_S and @Mihai