• This is a shot in the dark, but I am putting it out there just in case.

    I compared the actual execution plans and the XML of the staging execution plan contains these weird characters after the WHERE clause that don't exist in my query (or the query would obviously fail). Anyone know what these are?

    StatusId not in ('S','O','L') "