Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Using Temporary Tables across different tasks in SSIS Expand / Collapse
Author
Message
Posted Thursday, October 11, 2012 12:36 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, January 21, 2014 4:00 AM
Points: 27, Visits: 84
Hi,

We need to create a temporary table in Execute SQL Task and access it in subsequent Data Flow Task. I tried Retain Connection to True and access the temp table in DFT. But the package fails. Any pointers please?
Post #1371229
Posted Thursday, October 11, 2012 8:46 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 10:01 AM
Points: 7,127, Visits: 12,731
SSIS needs a concrete table to build metadata from when designing the DFT. Try using a concrete table for design then changing the package to use a temp table at runtime using Variables and Expressions. You may also need to set DelayValidation to True on some components so it does not try validating the metadata until execution.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1371556
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse