Hey Guys,
so basically I use this SQL statement to calculate the remainder of dividing the current week of the year by five:
SET @MYVAR = (FORMATDATE(GETDATE(), 'w') - (FLOOR(FORMATDATE(GETDATE(), 'w') / 5) * 5))
And when I try to use it with my table

Like this:
SELECT * FROM T1 WHERE 'person' = @MYVAR
It says "The query returned no rows."
What is the problem with that?
When I'm doing
SELECT @MYVAR FROM T1
It's resolved correctly.