Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 13 Jun 2003 @ 13:54:33 GMT


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


Subj:   Re: PPI's & hard-coded predicates
 
From:   Yonina Schuchman

Not having V2R5 yet, I am curious. How does the following perform?

Sel a.* from table1 a, controltable b where a.txn_dte = b.dte1;


Yonina Schuchman

_________________________________________________


a) Sel * from table1 where txn_dte = (sel dte1 from controltable);

b) Sel * from table1 where txn_dte between controltable.startdte and controltable.enddate;

Both of these types of request ignore the PPI and revert to a Full Table Scan instead.



     
  <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