Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Oracle column with Timestamp(6) data type extract using ssis

$
0
0

Hi All,

I am trying to pull an oracle table data into sql server using SSIS. I have a package variable that holds the source query that needs to be fired in the oracle db.I have a data flow task with oledb source(oracle) and oledb destination(sql server).

The oledb source query(variable) is as follows

Select A,B,C From TABLE TT  Where C in (Select coalesce(ab,cd) as c From Table T2 Where Last_Upd_Dt >= '2018-09-24 12:00:00')

The column Last_Upd_Dt  is a TimeStamp(6) with default value of LocalTimeStamp in the source oracle DB

My question is in what format should my input parameter value be so that I dont have to convert the Last_Upd_Dt  column to TO_DATE(), TO_CHAR() etc 

If I run that query using SSIS I get ORA-01843: not a valid month


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>