Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS package for INSERT/UPDATE from Oracle to SQL server Table


SSIS package for INSERT/UPDATE from Oracle to SQL server Table

Author
Message
Guitar_player
Guitar_player
SSC-Enthusiastic
SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)

Group: General Forum Members
Points: 139 Visits: 236
Hi ,

I need some info. about the Insert and updating the Records from Oracle Table to SQL server table using the SSIS packages and Attunity as the Source. Let me tell you my requirement

I have got a table in Oracle DB which has got a 'S_ID' and many Columns and 'DATEM' columns
so now i want to insert the new records and update the Exsiting records based on the Datemodified(DATEM) column into my sql table from Oracle..

I know that this kind of requirement are already available in net when i googled but i am unable to understand what to do and what are steps and what are the columsn to compare .

Please suggest me the ssis package and what are the transformations and any comparison columns i need to refer ?
Eirikur Eiriksson
Eirikur Eiriksson
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6687 Visits: 17679
Guitar_player (7/28/2014)
Hi ,

I need some info. about the Insert and updating the Records from Oracle Table to SQL server table using the SSIS packages and Attunity as the Source. Let me tell you my requirement

I have got a table in Oracle DB which has got a 'S_ID' and many Columns and 'DATEM' columns
so now i want to insert the new records and update the Exsiting records based on the Datemodified(DATEM) column into my sql table from Oracle..

I know that this kind of requirement are already available in net when i googled but i am unable to understand what to do and what are steps and what are the columsn to compare .

Please suggest me the ssis package and what are the transformations and any comparison columns i need to refer ?



Since you are indeed doing a full merge, I would suggest to use a staging table for the ORA recordset and a stored procedure with the MERGE statement.
Cool
Guitar_player
Guitar_player
SSC-Enthusiastic
SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)

Group: General Forum Members
Points: 139 Visits: 236
Actually i am inserting and updating into the Staging table only from Oracle and then we are building a Dimensional Data warehouse upon that ..

But here i am Inserting and updating the Staging table only which we are going to use further.. Smile
Eirikur Eiriksson
Eirikur Eiriksson
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6687 Visits: 17679
Guitar_player (7/28/2014)
Actually i am inserting and updating into the Staging table only from Oracle and then we are building a Dimensional Data warehouse upon that ..

But here i am Inserting and updating the Staging table only which we are going to use further.. Smile


Quick questions
a. Is it a large table?
b. Are there many new and updated entries?
Cool
Guitar_player
Guitar_player
SSC-Enthusiastic
SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)SSC-Enthusiastic (139 reputation)

Group: General Forum Members
Points: 139 Visits: 236
For some Tables
Yes they are some Big Tables and for some other Tables the insert and update may be huge
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search