Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Unable to see global temp table in OLE DB Destination

$
0
0

I'm unable to see/view global temp table in OLE DB Destination.

I'm first creating SQL Task to create temp table. Then in DFT ,Im using OLE DB destination which should point out to that global temp table which I created in SQL Task.

Also, I have set the destination connection property " RetainSameConnection" property to TRUE.

Here is the script for sql task:

IF OBJECT_ID('tempdb..##tmpTeams') IS NOT NULL DROP TABLE ##tmpTeams

CREATE TABLE ##tmpTeams ( Team VARCHAR(255), Mascot VARCHAR(255), State VARCHAR (2) )

Please let me know , if Im making mistake somewhere. Your help is appreciated.


ZK


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>