Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 16 Nov 2010 @ 20:51:41 GMT


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


Subj:   The use of * vs 1
 
From:   Faible Mou

Hi,

Would I get any performance improvement if I change

     Select count(*) ...

to

     Select count(1) ...

for tables that have many many columns?

How about

"if exist Select * from ..." vs "if exist Select 1 from ..."


Thanks

FM



     
  <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