How to use Stored Procedure (containing temp tables) in OLE DB Source Task
i have stored procedure queries several tables server a. result set proc inserted sql server table on server b.
i'd use stored procedure in ole db source task when throws error because tries validate temp tables (used in stored procedure) exist before created.
i have tired setting delayvalidation=true on tasks , retainsameconnection=true on connection. still error when trying click on columns. error complains temp table referenced in stored procedure.
any suggestions?
hi,
where did create temp table, in stored procedure or task? if in sp, should work. if create temp table in task, have ensure processes in same session. possible create , use temp table in same sp? or can refer workaround script componen:
hope helps,
raymond
raymond li - msft
SQL Server > SQL Server Integration Services
Comments
Post a Comment