Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 23 Jun 2006 @ 19:15:09 GMT


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


Subj:   Re: Can't get ROW_NUMBER to Work
 
From:   Victor Sokovin

  I need to add a counter to this query. I was thinking just to add this line:  


          > ROW_NUMBER() OVER (PARTITION BY E.column1 ORDER BY 2)

Try to drop the PARTITION BY part:

     ROW_NUMBER() OVER (ORDER BY 2 DESC).

I have not tested this, though.


Regards,

Victor



     
  <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