Hi all,
In case I have two tables. In them there is data and I want to integrate all this data into one table.
that is to say Table A and Table B has data (Both A and B are from the same database)
I want to integrate all this data into Table c.
How do i go about this?
Regards,
Ronaldlee
Can you be more specific? How exactly do you want to "integrate" this data?
-Jamie
|||
Hi Jamie, I want to use SSIS 2005 to get data from Table A and Table B into table C.
At the end of the day Table C will act as my staging table.
Ronald
|||Do tableA & tableB have the same structure as each other?|||
Table A has three columns and Table B has two columns.
Table A and B are in the same database and table C is in the different database.
Ronald
|||My god this is like pulling teeth!!!!!
What transformation do you want to perform on TableA & TableB in order to get the data into tableC?|||
No men, you are not rude.
Okay, I do not have any idea about the JOIN or UNION Transformation. May be you can recommend.
I need table C to have all the five columns from table A(3Columns) and B(2Columns).
Table A and Table B are the source
Table C is the target.
I need to find a way to join Table A and B.(Is it possible?)
Ronald
|||Ronaldlee Ejalu wrote: No men, you are not rude.
Okay, I do not have any idea about the JOIN or UNION Transformation. May be you can recommend.
I need table C to have all the five columns from table A(3Columns) and B(2Columns).
OK, that's useful!
Ronaldlee Ejalu wrote: I need to find a way to join Table A and B.(Is it possible?)
Only you can answer that. Is there a field in each of those two tables that means the same thing for both tables? If so, you could join on that field in the MERGE JOIN component.
Joining two tables that don't have a relationship between them is an incredibly uncommon thing to do and hence SSIS doesn't contain anything to do it. There is possibly a way to do it but i suspect that that is not what you want to do!
-Jamie
|||
Thanx Jamie,
Could you tell me the other way. May i Could come across it in future.
Thanx alot
Regards,
Ronald
|||The "other way" I spoke of is to do the joining in a script component or custom component that you build yourself. Those options mean writing code!
-Jamie
No comments:
Post a Comment