Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Wed, 30 May 2012 @ 11:30:21 GMT


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


Subj:   Re: Why a Query with Huge IN List Fails
 
From:   sughesh iyyani

Hi,

Try to use BETWEEN...AND... It will run much faster than IN.

Teradata should take the column value of each record and check whether it matches with value mentioned in the In clause list.

This is the reason IN is working slower.


Thanks,

Sughesh I S.



     
  <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: 28 Jun 2020