Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incremental load custom where clause #30

Open
domski74 opened this issue May 12, 2015 · 2 comments
Open

incremental load custom where clause #30

domski74 opened this issue May 12, 2015 · 2 comments

Comments

@domski74
Copy link

In order to always retain only a specific period (e.g. 2 years) worth of data in the imcremental qvd, I'd like to suggest that you have the ability to add a from date to the qvc incremental load so the qvd concatenate adds a where clause. Added as an optional parameter in incrementalstore?

Thanks

@MattFryer
Copy link
Collaborator

Hi,
Interesting idea! Having taken a look I can't see any obvious work around but Rob knows the incremental routines better than myself so he might be able to suggest one. We could possibly use the existing Qvc.Loader.v.BaseValue variable to implement this which is normally only used when performing the first reload or when a full reload has been requested.

Regards
Matt

@MrCode9
Copy link

MrCode9 commented Dec 16, 2016

Hi Matt, to cut off the "n" days in QVD, just create temporary table that had all date values with in "n" range and Inner join with your QVD table. The down side is we need to add new field "date" if we don't have a date field (timestamp field).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants