SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Reading data from sql in oracle source


Reading data from sql in oracle source

Author
Message
subramani.rudrappa 78855
subramani.rudrappa 78855
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 116
Hi,

i have mapping table which holds codes in Sql and i need to get dat from oracle source based on this codes
please let me know how can we chieve this.
Phil Parkin
Phil Parkin
SSC Guru
SSC Guru (51K reputation)SSC Guru (51K reputation)SSC Guru (51K reputation)SSC Guru (51K reputation)SSC Guru (51K reputation)SSC Guru (51K reputation)SSC Guru (51K reputation)SSC Guru (51K reputation)

Group: General Forum Members
Points: 51434 Visits: 21157
subramani.rudrappa 78855 (2/15/2013)
Hi,

i have mapping table which holds codes in Sql and i need to get dat from oracle source based on this codes
please let me know how can we chieve this.



People here are not going to teach you how to use SSIS. But we will help with specifics, if you give us some.


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
subramani.rudrappa 78855
subramani.rudrappa 78855
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 116
Hi,

we have scenario something like this
mapping table resides in sql server
it have data in mapping table as shown below

code flag
A scrapped
B repaired
C repaired
D modified


i have a table in oracle from where i need to extract data based on this codes and this is connected using ADO.net source.
main aim is not to hardcode these mapping values in source as codes will be keep on adding or updating in the mapping table.

our plan is to load these codes in to some temp table of oracle and use it while extracting like
select * from table(oracle ) where code in (select code from mapping table where flag=repaired)

In order to achieve this, we need to extract mapping data from sql and load in to some oracle temp table so that we can achive this.
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