dbTalk Databases Forums  

Oracle Query in Data Flow Task

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Oracle Query in Data Flow Task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Usha
 
Posts: n/a

Default Oracle Query in Data Flow Task - 03-16-2009 , 05:40 PM






I am using Data Flow task for the below query.

I have a source connection as MyOrclConn which uses Oracle Provider for OLEDB.
I am trying to write a query which selects the records from Oracle based on
the RunDate that is in Audit_Date in SQL Server Db (MySqlSvrConn).

My purpose here is to get the new records since last run from the source db.
So I want to write something like this.

SELECT * FROM OrclDB.MyOrclTbl
Where MyOrclTbl.DateModified > (Select RunDate From SqlSvrDb.dbo.Audit_Date)

My understanding is since I have selected Oracle connection it can
understand only Oracle syntax and objects. So it is unable to get the value
from Audit_Date.
How can I do this? Do I need to use Parameter? Or something else? How do I
do this?

Thanks!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.