April 9, 2018 at 12:02 pm
I want to do something that seems like it should be easy, but I don't see an obvious way to do it in SSIS.
I want the very first step to be querying two dates from two databases. If Date A is more recent that Date B, I'll do a data export and transformation to flat files. If Date B is more recent I'll just insert getdate() into the table Date B was from and end the job without running any exports.
But looking at the Interface I don't see an obvious way to do that. What would you suggest?
April 9, 2018 at 12:16 pm
dan-572483 - Monday, April 9, 2018 12:02 PMI want to do something that seems like it should be easy, but I don't see an obvious way to do it in SSIS.I want the very first step to be querying two dates from two databases. If Date A is more recent that Date B, I'll do a data export and transformation to flat files. If Date B is more recent I'll just insert getdate() into the table Date B was from and end the job without running any exports.
But looking at the Interface I don't see an obvious way to do that. What would you suggest?
Create two package-scoped variables, var 1 and var 2, to hold the dates.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy