Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 25 Apr 2013 @ 21:07:57 GMT


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


Subj:   Re: Can the ROW_NUMBER data type be changed?
 
From:   Curley, David

You're not changing the data type returned by ROW_NUMBER(). You're only changing it after it's been returned, so the integer still overflows.

Try SUM(CAST 1 AS DECIMAL(18,0)) OVER (whatever) instead.



     
  <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: 23 Jun 2019