Running into a problem on a ForEach over a full result set from a query on an OLE DB connection. The parameter numbers in the execution results seem to be all screwed up. I would appreciate some more eyes on this as I am not seeing the problem.
Here is the query on the result of which I'm iterating:


Variable mapping in the ForEach Loop:

The variables:

This is what I get:

INTorBIGINT?