Hello Abba,
Abba wrote:
Quote:
Since I have a WHERE filter, I choose SQL command for SQL source. I cannot
choose 'Table or view' in Oracle destination as I get an error saying
"Datatype is not supported". I think its the Oracle Timestamp datatype. So I
choose "SQL command" and write:
SELECT TRXID, PRODUCT, ACCTNUM,TO_CHAR(InsertDate,'mm/dd/yyyy') as
InsertDate
FROM OracleTable
But on 'preview', its giving me the error "Failure inserting to read_only
column InsertDate'. I had to put TO_CHAR... prefix as InsertDate alone is
giving me the same "Datatype is not supported error". |
this of course cannot work, because - as the error message states -
the last column is read-only because it is an expression. You can't
make an expression writable.
I've done a quick search with Google and found the following article,
which might help you:
How to convert SQL Server datetime to Oracle timestamp (or other type
with similar precision)?
http://forums.microsoft.com/MSDN/Sho...43532&SiteID=1
good luck and regards,
Gerald