Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 28 May 2010 @ 11:36:53 GMT


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


Subj:   Re: ROW_NUMBER()OVER
 
From:   anusha.srichander

Hi Syed,

The row_Number will be assigned based on the assending order of the columns used in the ORDER BY clause with the ROW_NUMBER function. So, when the column is strictly UNIQUE, same number of records will be retrieved at all the time where as in the vice-versa case, the result is unpredictable as the SELECT is done at random.


Regards,

Anusha



     
  <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