Thanks for all of the help guys and gals, that made it much easier.
Kevin

-----Original Message-----
[EMAIL PROTECTED]
Sent: Friday, February 02, 2001 12:51 PM
To: Multiple recipients of list ORACLE-L



How about:

set pages 0
set termout off
set feedback off
spool temp.sql
select 'alter index '||owner||'.'||index_name||' rebuild tablespace '
||tablespace_name||'_idx;'
from dba_indexes
spool off

Ana E. Choto
Systems Programmer
American University
e-Operations
Phone (202) 885-2275
Fax      (202) 885-2224




                    "Kevin
                    Kostyszyn"           To:     Multiple recipients of list
ORACLE-L <[EMAIL PROTECTED]>
                    <kevin@dulcia        cc:
                    n.com>               Subject:     Index move
                    Sent by:
                    root@fatcity.
                    com


                    02/02/01
                    11:30 AM
                    Please
                    respond to
                    ORACLE-L






Has anyone ever written a script or something that moved indexes to a
different tablespace?  One of our schemas has indexes in the wrong
tablespace and instead of going throught hem one by one I was wondering if
it was possible to move all of them at once?  Any ideas, am I out of my
mind?

Sincerely,
Kevin Kostyszyn
DBA
Dulcian, Inc
www.dulcian.com
[EMAIL PROTECTED]

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Kevin Kostyszyn
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kevin Kostyszyn
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to