Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Sun, 25 Jan 2009 @ 11:46:19 GMT

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

Subj:   Re: Changing Partition definition
From:   Dieter Noeth

Robert Diehl wrote:

  Correct you will need the with delete phrase. We always delete the data first using mload thus we are dropping empty partitions.  

Why don't you use plain SQL to delete the data? If WHERE covers a full partition it will be a FastPath Delete like DELETE ALL.

  I have not verified if this is still the case in V2R6.2 or above.  

It didn't change, because the DELETE/INSERT INTO option is only valid if rows don't fit in any remaining partition. And the NO RANGE nicely covers those rows.

This is one of the reasons why you should avoid NO RANGE :-)


  <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