Hi,
I have used a Table Variable in an SQL script to retrieve data from a source databse using the OLE DB Source Data Flow tool. The OLE DB Destination recognises the table and allows the columns to be mapped, but when the SSIS package is run no data is returned to the destination table.
The last line of the SQL Command in the OLE DB Source is :
SELECT
* FROM @Var
The SQL code executes correctly in the SQL Management Studio.
Have I run into a scope problem?
Cheers
Wee!