Greetings,
I have been trying this for a few days still could not make it work. I am new here and please help! Any suggestions/comments are highly appreciated!
I created a simple DTS package in Enterprise Mgr to select a data set from Oracle server and transfer them to SQL 2000 server. Here is the select query for data transfer.
Code:
select * from ord_fx where trade_date='7-Oct-2005'
It works fine and transfer the correct data set.
Now I want to have updated data transfered on daily basis and revise the query:
Code:
declare CurrDate date :=round(sysdate);
select * from ord_FX
where status_Flag is null
and to_date(Entry_date, 'DD-MM-YYYY'>='CurrDate';
However, I got the following error message when I click on Preview... button.