Archives of the TeradataForum
Message Posted: Tue, 09 Oct 2001 @ 19:30:46 GMT
<-- Anonymously Posted: Monday, October 08, 2001 13:29 ->
We are receiving a file where the data is pulled out of Oracle. Apparently Oracle has the data defined as NUMERIC(38) and the field in the file is populated like this '00000000000000000000000000000000012345'.
I defined the field as char(38) in Teradata but the zeroes are populated and this is the PI of the table. I tried to CAST it to INTEGER and FLOAT in the view, but when I select from the view I receive error 2621: Bad character in format or data of [refers me to table].
Any suggestions on how to get this data into Teradata with the leading zeroes displayed as blanks?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|