Re: Move records

  • From: Wolfgang Breitling <breitliw@xxxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 14 Jul 2004 15:02:19 -0700

Mladen, surely you jest.

alter table enable row movement;

As the command shows, that allows ROWS to be moved between partitions. RECORDS 
on the other hand do not even exist in a relational database, so I don't know 
how you'd move them. Can you move NULLs?

Quoting Mladen Gogala <mladen@xxxxxxxxxxxxxxx>:

> Exchange partitions with an empty table, drop the suddenly emptied
> partition,
> modify surviving partition and insert everything from the table being used as
> a
> temporary storage.
> 
> On 07/14/2004 05:16:46 PM, Hamid Alavi wrote:
> > All,
> > 
> > How can I move RECORDS from one partition to another partition, when I
> > change the partition key I get error, But isn't oracle automatically move
> > the records to proper partition when you change the partition key?
> > Thanks,
> > 

-- 
Regards

Wolfgang Breitling
Oracle 7,8,8i,9i OCP DBA
Centrex Consulting Corporation
www.centrexcc.com

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: