Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
You cannot drop the only partition in a table - Oracle Indexes and Partitioned Tables
Home
>>
Category
>>
Oracle (MCQ) questions and answers
>>
Oracle Indexes and Partitioned Tables
Q. You cannot drop the only partition in a table. Instead, you must drop the table.
- Published on 28 Jul 15
a.
True
b.
False
ANSWER: True
Related Content
Oracle DBA (
67
)
Oracle Replication (
19
)
Oracle Architecture (
20
)
Oracle Transaction (
40
)
Administering and Managing an Oracle Database (
25
)
Managing Oracle Database Processes (
8
)
Oracle Control Files (
27
)
Oracle Redo Log (
23
)
Oracle Tablespaces (
24
)
Oracle Datafiles and Tempfiles (
13
)
Oracle Managed Files (
11
)
Oracle Schema (
26
)
Oracle Tables (
13
)
Oracle Indexes and Partitioned Tables (
24
)
Oracle Clusters (
24
)
Oracle Views, Sequences, and Synonyms (
15
)
Oracle Distributed Database concepts (
28
)
Discussion
Nirja Shah
-Posted on 29 Sep 15
- You can drop partitions from range, interval, list, or composite *-[range | list] partitioned tables.
- For interval partitioned tables, you can only drop range or interval partitions that have been materialized.
- For hash-partitioned tables, or hash subpartitions of composite *-hash partitioned tables, you must perform a coalesce operation instead.
- You cannot drop a partition from a reference-partitioned table. Instead, a drop operation on a parent table cascades to all descendant tables.
Dropping Table Partitions
- Use one of the following statements to drop a table partition or subpartition:
1. ALTER TABLE ... DROP PARTITION to drop a table partition
2. ALTER TABLE ... DROP SUBPARTITION to drop a subpartition of a composite *-[range | list] partitioned table
- To preserve the data in the partition, then use the MERGE PARTITION statement instead of the DROP PARTITION statement.
- If local indexes are defined for the table, then this statement also drops the matching partition or subpartitions from the local index.
- All global indexes, or all partitions of partitioned global indexes, are marked UNUSABLE unless either of the following is true:
1. You specify UPDATE INDEXES (Cannot be specified for index-organized tables. Use UPDATE GLOBAL INDEXES instead.)
2. The partition being dropped or its subpartitions are empty
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲