Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 01 Aug 2005 @ 21:31:34 GMT


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


Subj:   Cast to Decimal - Error 2679
 
From:   Anomy Anom

<-- Anonymously Posted: Monday, August 01, 2005 17:30 -->

Folks,

Does anyone know why the following SQL fails (or does it work on your system?):

     sel cast (cast ('-.000219999696128070354' as varchar(60)) as decimal(18,4));

This is not an academic question, we are trying to Fastload this value into a Decimal (18,4) column, but get error 2679. What's weird is that if you take off that last digit (4), then it works.

Oh, standard ETL exclusions apply: data received from 3rd party, we have no control over source data format.


Any suggestions are appreciated.



     
  <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