Archives of the TeradataForum
Message Posted: Wed, 22 Apr 2015 @ 20:22:25 GMT
Subj: | | Re: Teradata Decimal Precision issue |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Wednesday, April 22, 2015 12:34 -->
Actually, I don't think simple multiplication and division will work. But the principle of truncating to a lower-precision value and separately
difference might. Something along the lines of exporting
TO_BINARY_FLOAT(colX), (colX - TO_BINARY_DOUBLE(TO_BINARY_FLOAT(colX)))
and then adding the two values together after loading.
Or maybe changing TO_CHAR and back again.
|