• I guess you are using table variable inside your SQL query. If that is the case, then OLEDB source task will not generate the columns.

    Use a stored procedure instead of the SQL script, this will generate the columns.