1070101" and "SELECT COUNT(1) FROM tablenname WHERE datecolumn>1070101" perform the same way?." />
 
Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 09 Jun 2011 @ 09:58:54 GMT


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


Subj:   Does Count(*) and count(1) has any difference?
 
From:   Vinoth Raj Prabhakaran

Hi.

I need to perform a count of records on a huge table which is approx 80GB, based on a date condition which is not indexed. Does "SELECT COUNT(*) FROM tablenname WHERE datecolumn>1070101" and "SELECT COUNT(1) FROM tablenname WHERE datecolumn>1070101" perform the same way?.


Thanks,

Vinoth



     
  <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