Rainsee65
asked on
Integrating multiple data access database into one SQL database using SSIS package.
Hi,
We've got a multiple access databases each having 28 tables.
There are at least a total of 12 access database coming from different places.
The only common to these 12 database access are that they have the same table schema.
Each table has their own primary key that sets each record unique in its own containing access database.
The SQL server database will have the same schema as the access database.
I want to load and integrate all data table from 12 different access database into one sql database using one SSIS package.
Since each has their own data with primary key and each database access doesn't know the data from one another I am certain that some of the data might collide or overwritten by another since some of the table will have similar primary key.
I don't want them to override each other when moving the data to the sql server.
Anything I need to add/modify in the SQL to prevent colliding or overwriting one another?
How do I approach the SSIS package?
I probably need to assign new primary for each table.
Does anyone know how I can approach loading and integrating my different data access to the sql server using ssis package?
Thanks,
Roland
We've got a multiple access databases each having 28 tables.
There are at least a total of 12 access database coming from different places.
The only common to these 12 database access are that they have the same table schema.
Each table has their own primary key that sets each record unique in its own containing access database.
The SQL server database will have the same schema as the access database.
I want to load and integrate all data table from 12 different access database into one sql database using one SSIS package.
Since each has their own data with primary key and each database access doesn't know the data from one another I am certain that some of the data might collide or overwritten by another since some of the table will have similar primary key.
I don't want them to override each other when moving the data to the sql server.
Anything I need to add/modify in the SQL to prevent colliding or overwriting one another?
How do I approach the SSIS package?
I probably need to assign new primary for each table.
Does anyone know how I can approach loading and integrating my different data access to the sql server using ssis package?
Thanks,
Roland
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for both responses.
For Pat question about one time merge, it is a one time merge in a way. My plan is to create an a web app with a dropdown list that the user will select the datasource to import one at a time. The dropdown list will have the 12 datasources but those datasources will not change.
Once the datasource is selected I will run the SSIS package for each datasources.
My other question is I probably need to pass parameters to the SSIS package like the name of the datasources and the current table to be imported then retrieve those inside the SSIS package and use that to insert to the source data field in the sql table.
I am just a SSIS newbie and don't know yet how to programatically run the SSIS.
For Pat question about one time merge, it is a one time merge in a way. My plan is to create an a web app with a dropdown list that the user will select the datasource to import one at a time. The dropdown list will have the 12 datasources but those datasources will not change.
Once the datasource is selected I will run the SSIS package for each datasources.
My other question is I probably need to pass parameters to the SSIS package like the name of the datasources and the current table to be imported then retrieve those inside the SSIS package and use that to insert to the source data field in the sql table.
I am just a SSIS newbie and don't know yet how to programatically run the SSIS.
One-time means - convert all files ONCE. That is different from having to import replacement copies or add/change data. There would be no point in creating a web page if you only had to do this once.
So, is this a one-time effort or will you have to do this over and over again either on demand or on a schedule? If it is a repeat exercise, will you be replacing complete sets of data or will you be keeping the master data and adding to it or updating it? What about deletions?
So, is this a one-time effort or will you have to do this over and over again either on demand or on a schedule? If it is a repeat exercise, will you be replacing complete sets of data or will you be keeping the master data and adding to it or updating it? What about deletions?
ASKER
This is a one time effort. All the different regions will upload their own data access database and will be in one folder. I probably will run the SSIS package each per database changing the connection per run.
OK. Do you still have questions about how to proceed. Both Russel and I have suggested using Access but you could use SSIS assuming you know how. If all it is doing is a straight copy/append, you will have conflicts and so will be better off doing what I suggested from Access. Or you can hang on and hope that some SSIS expert offers a solution.
ASKER
I have a requirement to use SSIS.
ASKER
This would be a one time merge.
I am going to try your suggestion on having a PK , loading the old source and old PK.
I will stick with SSIS package sine it is a requirement to what I am working on.
Thanks,
Roland
I am going to try your suggestion on having a PK , loading the old source and old PK.
I will stick with SSIS package sine it is a requirement to what I am working on.
Thanks,
Roland
Open in new window