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

RetainSameConnection Property of OLE DB Connection in SSIS

$
0
0

Hi All,

I created an OLE DB Connection on a particular database . I also set RetainSameConnection = "true" for this connection

but when i used this connection in different OLE DB source or OLE DB Destination  then it is being created for each OLE DB source or destination tasks wherever i used this connection  but when i used this connection inside the execute sql task then it remains same . I also set Delayvalidation = "true" for the data flow task inside which i am using OLE DB Source or OLE DB destination . I noticed this using sql server profiler , a new SPID is created when new connection is created .  I need same connection should be used by each OLE DB task . 

Could u please suggest me what may be the root cause . 

Thanks in advance 



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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