Select I.Fee From Item I WHERE GETDATE() - I.DateCreated < 365 days ... Use DATEDIFF Select I.Fee From Item I WHERE DATEDIFF(day, GETDATE(), ...
stackoverflow.com