SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server Integration Services - Delay Validation


SQL Server Integration Services - Delay Validation

Author
Message
Raunak Jhawar
Raunak Jhawar
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10263 Visits: 1945
Comments posted to this topic are about the item SQL Server Integration Services - Delay Validation

Regards/Raunak
Now a member of Linkedin

Please visit the all new Performance Point Forum
Please visit the all new Data Mining and Business Analytics Forum
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)

Group: General Forum Members
Points: 177765 Visits: 13357
What would have been nice if the role of ValidateExternalMetadata was included in the article and how it can work together with DelayValidation during design time.

For the rest, nice article.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Andrew Diniz
Andrew Diniz
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1276 Visits: 293
Now, if you toggle the default value of the property Delay Validation and set it to true, the validation will be delayed and the package will not be validated at design time.

This is inaccurate. To skip design-time validation of the File System task, you would set the File System task's DelayValidation property to true. Doing so, does not affect the design-time validation of the rest of the package.
An accurate statement would be:

Now, if you set the value of the File System task's Delay Validation property to true, the validation will be delayed and the File System task will not be validated at design time.

Note also that setting the property at the package - or container - level will not affect the design-time validation of contained components ie: components do not inherit the DelayValidation property of their parents for design-time validation. Conversely, in run-time validation, components do inherit the property value from their parent. Moreover, a DelayValidation property value of true at the container level cannot be overridden at run-time by contained tasks or components.

Check out Arshad Ali's article on package validation for more on design-time and run-time validation.
jbowers
jbowers
SSC Veteran
SSC Veteran (220 reputation)SSC Veteran (220 reputation)SSC Veteran (220 reputation)SSC Veteran (220 reputation)SSC Veteran (220 reputation)SSC Veteran (220 reputation)SSC Veteran (220 reputation)SSC Veteran (220 reputation)

Group: General Forum Members
Points: 220 Visits: 243
Another option would be to simply provide a default value for the user variable that holds your file name. This could be beneficial if you have "downstream" tasks in your ETL that reference the dynamic file name.
Raunak Jhawar
Raunak Jhawar
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10263 Visits: 1945
andrew.diniz (3/8/2012)
Now, if you toggle the default value of the property Delay Validation and set it to true, the validation will be delayed and the package will not be validated at design time.

This is inaccurate. To skip design-time validation of the File System task, you would set the File System task's DelayValidation property to true. Doing so, does not affect the design-time validation of the rest of the package.
An accurate statement would be:

Now, if you set the value of the File System task's Delay Validation property to true, the validation will be delayed and the File System task will not be validated at design time.

Note also that setting the property at the package - or container - level will not affect the design-time validation of contained components ie: components do not inherit the DelayValidation property of their parents for design-time validation. Conversely, in run-time validation, components do inherit the property value from their parent. Moreover, a DelayValidation property value of true at the container level cannot be overridden by contained tasks or components.

Check out Arshad Ali's article on package validation for more on design-time and run-time validation.


Admitted. Thank you for pointing this out.

Regards/Raunak
Now a member of Linkedin

Please visit the all new Performance Point Forum
Please visit the all new Data Mining and Business Analytics Forum
RonKyle
RonKyle
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19128 Visits: 4104
The article should have mentioned that this is very useful for external data sources that would otherwise cause the user to have to wait for several minutes while all the data is validated. Without this, I haven't found a reason for turning the feature on.



Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)SSC Guru (177K reputation)

Group: General Forum Members
Points: 177765 Visits: 13357
RonKyle (3/11/2012)
Without this, I haven't found a reason for turning the feature on.


So that the package doesn't crash when you use any kind of dynamic configuration?


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Andrew Diniz
Andrew Diniz
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1276 Visits: 293
RonKyle (3/11/2012)
The article should have mentioned that this is very useful for external data sources that would otherwise cause the user to have to wait for several minutes while all the data is validated. Without this, I haven't found a reason for turning the feature on.


As Koen says, to support expressions which are valid only at run-time. In addition, setting the property to true will halve the time it takes to validate the component at run-time thereby reducing its overall execution time.
Raunak Jhawar
Raunak Jhawar
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10263 Visits: 1945
Good to see all adding their views to make the article more clear and precise. Thank you.

Regards/Raunak
Now a member of Linkedin

Please visit the all new Performance Point Forum
Please visit the all new Data Mining and Business Analytics Forum
RonKyle
RonKyle
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19128 Visits: 4104
So that the package doesn't crash when you use any kind of dynamic configuration?


I have not had it crash. Sometimes it can't tell me it can't find a file name. We might have a different idea of what crash means.



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search