Home Page for the TeradataForum

Archives of the TeradataForum

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

  <Prev Next>  
Next> Last>>  

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


Would I get any performance improvement if I change

     Select count(*) ...


     Select count(1) ...

for tables that have many many columns?

How about

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



  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023