Archives of the TeradataForum
Message Posted: Sun, 25 Jan 2009 @ 11:46:19 GMT
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 :-)
Dieter
|