Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> move lob tables

move lob tables

From: Jim Poe <jpoe_at_fulcrumit.com>
Date: 19 Jun 2001 16:03:18 GMT
Message-ID: <9gnt46$eq7@dispatch.concentric.net>

I'm trying to move all tables and indexes from one tablespace to another. I'm using the following :

set feed off echo off termout off pages 0 spo Run_Move_Tbl.sql;

select 'alter table '|| owner || '.' ||table_name||' move tablespace app_user; ' from
dba_tables where tablespace_name = 'USER_DATA';

select 'alter index ' || owner || '.' ||index_name||' rebuild tablespace app_user; ' from dba_indexes where
tablespace_name = 'USER_DATA';

/
spo off;
@Run_Move_Tbl.sql

This works except for indexes of index_type LOB. How do I move these indexes?

Thanks

--
Jim Poe (jpoe_at_fulcrumit.com)
Received on Tue Jun 19 2001 - 11:03:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US