This is current/old Access query I inherited.Need to retrieve the past year Case log. How can I write a better current date in Where clause?
Select (ID,DateL
declare @date date set @date = DATEADD(YEAR, -1, GETDATE()) Select (ID,DateLog,TimeLog) From tblActiveCase WHERE DateLog >= @date