Re: Partitioned oracle tables

2002-04-24 Thread Connor McDonald

If you want to drop ALL the partitions, then just drop
the table (with the normal 'drop table xxx').

hth
connor

 --- Simon Waibale [EMAIL PROTECTED] wrote:  Hi
all,
 We have two partitioned tables, T1 and T2.
 T1 belongs to one user and has 8 partitions, 3 users
 have a table called T2
 with 8 partitions. We are trying to :
 1) Alter tables (T1,T2) drop all partitions
 2) Take tablespaces holding the partitions offline
 3) Drop tablespaces
 4) drop users
 
 Trouble is in step step 1 for table T2 where we get 
 a)ora 144083: cannot drop the only partition of a
 partitioned table
 b)ora 14404: partitioned table contains partitions
 in a different tablespace
 
 Can anyone try and explain to me the breakdown in my
 steps to get rid of the
 partitioning ?
 Platform: Oracle 81700 on Tru64 Unix
 
 Thanking you,
 ---
 CSW
 --
 Please see the official ORACLE-L FAQ:
 http://www.orafaq.com
 --
 Author: Simon Waibale
   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). 

=
Connor McDonald
http://www.oracledba.co.uk (mirrored at 
http://www.oradba.freeserve.co.uk)

Some days you're the pigeon, some days you're the statue

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  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).



Re: Partitioned oracle tables

2002-04-24 Thread Igor Neyman

Obviously, partitioned table needs to have at least one partition.
Why don't you just try to drop the table, and then recreate it as
non-partitioned (if that's, what you want).

Igor Neyman, OCP DBA
[EMAIL PROTECTED]



- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 4:43 AM


Hi all,
We have two partitioned tables, T1 and T2.
T1 belongs to one user and has 8 partitions, 3 users have a table called T2
with 8 partitions. We are trying to :
1) Alter tables (T1,T2) drop all partitions
2) Take tablespaces holding the partitions offline
3) Drop tablespaces
4) drop users

Trouble is in step step 1 for table T2 where we get
a)ora 144083: cannot drop the only partition of a partitioned table
b)ora 14404: partitioned table contains partitions in a different tablespace

Can anyone try and explain to me the breakdown in my steps to get rid of the
partitioning ?
Platform: Oracle 81700 on Tru64 Unix

Thanking you,
---
CSW
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Simon Waibale
  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: Igor Neyman
  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).