We are trying to load a file created by fast export into an oracle database.
However the Float column is being exported like this: 1.47654345670000000000 E010.
How do you configure fastexport to export like this: 14765434567.
We are loading the exported file into our oracle database via SQL*Loader
Update:
Originally it was using: cast(XXXX as varchar(500)) in the query provided to FastExport.
The solution is to use
cast(cast(FLOAT_VAL as FORMAT 'Z(16)') as varchar(16))To make it all numeric and left padded with spaces:
cast(FLOAT_VAL as FORMAT 'Z(16)')To remove the padding:
cast(<VALUE> as varchar(16))An alternative solution:
trim(cast(FLOAT_VAL as FORMAT 'Z(16)'))