this will do
SELECT username FROM someTable WHERE membershipYear = DATEPART(YEAR, GETDATE())
OR membershipYear = datepart(yyyy,DATEADD(YEAR, 1, getdate()))
Best Regards,
Melissa Suciadi
If you have found this post helpful, please click the 'Vote as Helpful' link (the green triangle and number on the top-left).
If this post answers your question, click the 'Mark As Answered' link below. It helps others who experience the same issue in future to find the solution.