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

Cannot truncate staging table because it is referenced

$
0
0
Hello, Please I need your help. I have built my model on my staging DB and my Stg_DimAccount have a bridge table with a FK on it. When building my SSIS package I am trying to using Execute SQL task to truncate the staging table each time the package runs, but I am having error saying it cannot be truncated. How do I go around this without breaking the model? 

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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