Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 13 Oct 2006 @ 19:11:34 GMT


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


Subj:   Re: How to get the REAL explaination for a query with variable
 
From:   sanjaya.nagabhushan

Hi Ray,

Yes, It does use PPI as the Explain says.

When values are supplied from a data file, It is as good as supplying a constant in the query expect that the constant is coming from a data file. The constant is read in from the data file & substituted for the variable before the query is processed. So the optimizer knows the value for sure & it does use PPI & partition elimination.


Regards,

Sanjaya



     
  <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