I have an integer stored in a database (SQLAgent Frequency Interval) This integer is actually the sum of the selected days of the week that the schedule is to run
The possible v
I would start by putting it on an user defined function.
Also, you can use an and that operates at the bit level to check for it - I think it is &, will update.
Update 1: It was &, Jason already put up an example. I still recommend to use an user defined function for it :).