Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 13 Sep 2006 @ 16:12:37 GMT





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




Subj:   Which method is faster?
 
From:   Kunnath, Sidharth



Hi,

Is selecting data using the distinct clause faster than using a group by clause?

Consider these queries as examples

     Select c3, c4 from temp1
     Group by 1, 2

     Select distinct c3, c4 from temp1

Also (c3, c4) are not PI.


Thanks & Regards,

Sidharth Kunnath,
Technical Consultant





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008