Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 09 Oct 2001 @ 19:30:46 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   38 position NUMERIC field?
 
From:   Anomy Anom

<-- 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?


Thanks.



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023