Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 29 May 2012 @ 13:05:32 GMT


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


Subj:   Re: What is difference between Sample 10 and Top 10?
 
From:   girish.nayak

Sughesh,

TOP and Sampe are completely 2 different functions.....

TOP X gives you the 'X' rows in highest to lowest rank... The result is always same unless the table is modified SAMPLE X gives you the 'X' rows from the table collected as sample [Picked up randomly from the all AMPs .. use Random AMP sampling....] -- Its just 10 record/ rows picked up randomly from ur table... The result always differers....

Hope this can help you....


Thanks and Regards,

Girish



     
  <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