SSIS adding a record during the process

Dear Experts,

I have SSIS implemented where I am taking 150 mdb’s with 17 tables per mdb and all these are importing into one SQL DB but I am wondering how I can insert a record in those 17 tables that are coming across into the 17 SQL DB tables.   What process would you suggest in SSIS to do this so I won’t have confusion of data?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Data DudeCommented:
Define in greater detail 'insert a record in those 17 tables'

Without any extra informaiton, your options are...
If this needs to happen in a Data Flow Task - Conditional Split, whatever Derived Column / Aggregate / whatever variables are needed to come up with the Insert values, then a Destination Task that is the table
If this does not need to happen in a Data Flow Task (but maybe the For Each Db?) - SQL Task that hard-codes the insert, using whatever variables are needed.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sj77Author Commented:
Jim -

For clarification purposes I will explain below with a simplified example:

1 MDB named Store1 In it 17 tables. One of the tables is Customers, and customers contains three columns: FName, LName, Phone.

I want to add in to the customers table (and the other 16 tables) a column named ssn and include a record in it.

Let me know if you need further clarification.
Vikas GargAssociate Principal EngineerCommented:

You can add a derived column transformation during the Data Flow Task.
The value of that derived column will be expression in which you can pass a variable which will be having value of that MDB.
for example the value of variable will be MDB1 for first package and MDB2 for 2nd and so on.

This extra column will tell you the data is coming from which souce.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

sj77Author Commented:
Do you have a screen shot of how you would insert from data flow task into the MDB2?
sj77Author Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for sj77's comment #a41030753

for the following reason:

This was the answer!
sj77Author Commented:
Great answer!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.