سؤال

I need a help from you regarding SSIS. I am doing an Incremental Extraction using a package variable. The problem that I am facing is that I am taking a variable to which I am giving a default value. Then within the Data Flow Task I am using the Script Component to assign the max of the datetime column from my table into the variable, but when I run the package each time the variable value gets reset to the default value. How do I keep the value in the variable persistent?

هل كانت مفيدة؟

المحلول

Use the Script Component, passing the value to the variable and increment it every time. you can the For Loop container to execute the Script Component to get your desired result.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top