Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: moving tables to a different tablespace
Al,
In order to assure the tables end up in a tablespace other than the one from
which they originated, you'll have to create empty tables in the outln_ts
tablespace prior to the import (between step 4 & 5). Easiest way is to to a
import w/ indexfile=<file_name>, then edit and run this file.
Mike Hand
Polaroid Corp
-----Original Message-----
Sent: Thursday, July 26, 2001 1:51 PM
To: Multiple recipients of list ORACLE-L
Hi Group,
Please explain what I am doing wrong.
1) exp outln/outln_at_webprod <mailto:outln/outln_at_webprod> file=exp_file
tables = 'OL$' 'OL$HINTS'
2) Dropped the tables: 'OL$' and 'OL$HINTS' on webprod 3) Created tablespace outln_ts on webprod 4) Altered user outln default tablespace outln_ts 5) imp outln/outln_at_webprod <mailto:outln/outln_at_webprod> file=exp_file tables = 'OL$' 'OL$HINTS' 6) SQL> select table_name, tablespace_name from dba_tables where owner = 'OUTLN'; TABLE_NAME TABLESPACE_NAME ------------------------------ ------------------------------ OL$ SYSTEM OL$HINTS SYSTEM XX
Oracle 8.1.7 on Sun Solaris 5.7
TIA
Al Rusnak
804-734-8453
rusnakga_at_hqlee.deca.mil
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rusnak, George A.
INET: rusnakga_at_hqlee.deca.mil
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: ListGuru_at_fatcity.com (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).
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: ListGuru_at_fatcity.com (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). Received on Thu Jul 26 2001 - 15:12:50 CDT
![]() |
![]() |