Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 16 Nov 2010 @ 08:42:58 GMT


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


Subj:   Re: Numeric overflow and COUNT(*)
 
From:   Gupta, Vipin

The return type of count(*) in TD session mode is INT. I think table is huge and having rows > 2147483647 which is causing numeric overflow. You can either cast the count(*) to decimal or use ANSI session mode in which return type is DEC(38,0) (TD13).



     
  <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