Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 20 Jun 2011 @ 15:00:24 GMT


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


Subj:   Distinct vs. group by in TD 13 onwards
 
From:   Anomy Anom

<-- Anonymously Posted: Monday, June 20, 2011 10:40 -->

Hi,

What is the differences between Distinct vs. group by from TD 13 onwards.

Internally Distinct will be written as below.

     Rewrite  Distinct  to  Group By
     Select Distinct Col From Table
                    rewritten as
        Select Col from Table Group By Col

Are they one and the same performance wise.


Thanks,



     
  <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: 27 Dec 2016