Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 23 Jan 2009 @ 21:59:14 GMT


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


Subj:   Re: Limitations on RANK() function
 
From:   Michael Larkins

Zdravko:

I would imagine that RANK() can do 1Mil rows or more. However, why would you? It would be faster to just sort them. RANK() really is best when used with the QUALIFY to return a specific number of rows and not all rows. What are you really trying to determine? If you are looking for a sequential number - RANK is not it. You should be using ROW_NUMBER.


regards,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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