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

with SSIS C# task how to verify if a dimension has data before running process update

$
0
0

Hi

I have the following code:

foreach (Dimension CommsDim in dbComms.Dimensions)
                   CommsDim.Process(ProcessType.ProcessUpdate);

It works fine if the dimensions have data in them, but if they are empty it fails.

How do I verify if the dimensions have data in order to decide if to run ProcessUpdate or ProcessFull

I could not find the correct propety or method.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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