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

Cache Transformation in For Each Loop

$
0
0

Hi all 

In For Each loop:

DFT:

Table --> Lookup on Table(Lookup Source Stored Proc Using Variable) --> Table

So after research i found i can't use Stored Proc using Variable directly. It must be used in Cache and use cache transformation used as Source for LookUp. 

So i used cache and it works for first loop and after the second loops starts it saying already cache is full so you can't use it.

So i want to delete data in cache in before the second loop starts.

Is there is anyway to do like that??

I think it will work if i do i like this(not sure though)

1. Use a flat file and load the data in to that file and refill that file for every loop

Is there is any way to do this directly in package with out using externally likes files or tables.


Thanks

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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