Hi Tamrak If I understand correctly, the user can choose to either show only rows with TmeOffIncluded = 1, OR to show the whole table, these are the only 2...
You should create two seperate variables, one which holds the area codes which you wish to filter in the through the WHERE clause (e.g USER::@v_AreaCodes "(305,954,234,123)"- dont...