Home » SQL & PL/SQL » Client Tools » Drop a hash partition (Oracle 9.2)
Drop a hash partition [message #312632] Wed, 09 April 2008 08:45 Go to next message
chintu00
Messages: 15
Registered: February 2007
Location: Tampa FLorida
Junior Member
Is there a different way to drop a hash partion than range and list. I tried the folllowing statement and also along with few other options but couldn't get it working.
alter table table_name drop partition partition_name.
Re: Drop a hash partition [message #312634 is a reply to message #312632 ] Wed, 09 April 2008 08:49 Go to previous messageGo to next message
anacedent
Messages: 5027
Registered: July 2005
Location: surf meets turf in SoCal
Senior Member
>couldn't get it working
I couldn't get my car working.
Please tell me how to make it go.


Please read & FOLLOW posting guidelines below

http://www.orafaq.com/forum/t/88153/0/
Re: Drop a hash partition [message #312636 is a reply to message #312632 ] Wed, 09 April 2008 08:53 Go to previous messageGo to next message
Michel Cadot
Messages: 15243
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
From doc, ALTER TABLE statement:
Quote:
Restrictions on Dropping Table Partitions Dropping table partitions is subject to the following restrictions:

You cannot drop a partition of a hash-partitioned table. Instead, use the coalesce_table_partition clause.

...

Regards
Michel

[Updated on: Wed, 09 April 2008 08:54]

Re: Drop a hash partition [message #312643 is a reply to message #312636 ] Wed, 09 April 2008 09:14 Go to previous messageGo to next message
chintu00
Messages: 15
Registered: February 2007
Location: Tampa FLorida
Junior Member
Michel, Pls give me the statement.

Thanks
Re: Drop a hash partition [message #312664 is a reply to message #312643 ] Wed, 09 April 2008 10:08 Go to previous messageGo to next message
Michel Cadot
Messages: 15243
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
The doc is on line and available at http://tahiti.oracle.com.

Regards
Michel

Re: Drop a hash partition [message #312842 is a reply to message #312664 ] Wed, 09 April 2008 21:53 Go to previous messageGo to next message
chintu00
Messages: 15
Registered: February 2007
Location: Tampa FLorida
Junior Member
The link did not help are you able to paste the DDL statement.

Thanks
Re: Drop a hash partition [message #312848 is a reply to message #312842 ] Wed, 09 April 2008 22:24 Go to previous messageGo to next message
rleishman
Messages: 2563
Registered: October 2005
Location: Melbourne, Australia
Senior Member
chintu00 wrote on Thu, 10 April 2008 12:53
The link did not help are you able to paste the DDL statement.

How hard did you look?

Go to the link specified by Michel.

You will see a page showing links to documentation for different versions of the database. Choose the version that you are using and follow that link.

Depending on which version you choose, you will get a different screen. Here's where you need to use some initiative. Somewhere on that page will be a link to a SQL Reference manual. Find it. Click it.

Once you have opened the SQL Reference, go to the Contents - it should take you there automatically. Find the chapters that deal with SQL STATEMENTS; there are lots so they are divided up alphabetically. Go to the chapter covering ALTER TABLE.

There's the syntax.

Alternatively, that first screen you see when you select your Oracle version may contain a "Quick Search" dialog. Search on "ALTER TABLE".

Ross Leishman

P.S. Practice your research skills. Forum regulars are not very tolerant of people unwilling to help themselves. And rightly so: their time is far more valuable to them than yours.

Re: Drop a hash partition [message #313044 is a reply to message #312842 ] Thu, 10 April 2008 08:39 Go to previous messageGo to next message
Barbara Boehmer
Messages: 3940
Registered: November 2002
Location: California, USA
Senior Member
http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/partiti.htm#7150
Re: Drop a hash partition [message #313098 is a reply to message #312848 ] Thu, 10 April 2008 12:24 Go to previous message
chintu00
Messages: 15
Registered: February 2007
Location: Tampa FLorida
Junior Member
Thanks I appreciate it, I found the statement.
Previous Topic:Can you help me to improve my database?
Next Topic:SP2-0310
Goto Forum:
  


Current Time: Sat May 17 02:39:45 CDT 2008

Total time taken to generate the page: 0.08431 seconds
.:: Forum Home :: Site Home :: Wiki Home :: Contact :: Privacy ::.