I have a rather long query that returns data Memberid when I run it in TOAD. But when I use the same query in an SSIS data source, every value for Memberid is null, even though the query on TOAD returns values like 'AB557987'.
The table it is getting data from does allow nulls, but there is data in there.
The query is structured something like this.
Select ...
xrf.Memberid
from
....
(Select * from table25 where memberdate=(select max(memberdate) from Table26 where ...) as Xrf
Join ....
Where
...