Uniloader, oracle and timestamp
Posted: Mon 25 Jun 2012 11:03
I have tried to use the UNILOADER to move data from Firebird to Oracle. But if any attribute in Oracle is defined with TIMESTAMP I am unable to do this because my program crashes.
Example of code line that does not work (It does compile):
Sender.PutColumnData(4, i, UniQueryFra.FieldByName('SISTEINNLOGGING').value);
UniQueryFra is the Firebird source and contains a Firebird TIMESTAMP field.
I suspect that the format need to be converted to be accepted by Oracle, and I have
tried a lot of different ways to do this conversion, but I am unable to get it to work.
Note: DirectPath is set to false in Uniloader for Oracle, so ordinary SQL should be used to copy the data.
Could anyone please help me.
Example of code line that does not work (It does compile):
Sender.PutColumnData(4, i, UniQueryFra.FieldByName('SISTEINNLOGGING').value);
UniQueryFra is the Firebird source and contains a Firebird TIMESTAMP field.
I suspect that the format need to be converted to be accepted by Oracle, and I have
tried a lot of different ways to do this conversion, but I am unable to get it to work.
Note: DirectPath is set to false in Uniloader for Oracle, so ordinary SQL should be used to copy the data.
Could anyone please help me.