Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 17 Aug 2007 @ 21:47:41 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Parition Elimination with Using Clause
From:   Wayne Schachtel

Has anyone been successful in getting Partition Elimination to work with importing data values via a Using clause?

The table below is partitioned on pd_dt; I've tried export/import in various modes (report, data, vartext) on two different systems: & The results/explains come back as full table scans. Any ideas?

     .import data file='c:\. . . ' ;

     using (from_dt date, to_dt date)
     select *
     from r621test.clm
     where pd_dt between :from_dt and :to_dt ;

Wayne Schachtel
Wayne Schachtel Consulting

  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020