Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 27 Feb 2013 @ 11:04:12 GMT


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


Subj:   Re: SQL running longer with Between function
 
From:   A, Surya Kumar

Hi,

Looks like you are retrieving years data ((date '2012-02-26') AND (date'2013-02-26') by using between function in the first sql, which might take time if you have lot of data.

SQL 2 : you are querying only with respect to date (2013-02-22)


Thanks,

Surya



     
  <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: 23 Jun 2019