Solved

how to select data from a particular partition

Posted on 2008-06-26
2
7,685 Views
Last Modified: 2013-12-19
hi
i have a table with 5 partitions.

now i  want something like this.

select * from table_name (from partition 3).

how to do this ?
0
Comment
Question by:vishali_vishu
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 21875355
simply like this:
select * from table_name partition(3)

Open in new window

0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 21875577
Angellll is correct, you simply include the keyword "partition" in your query, and you must use parentheses around the partition name.  You may optionally include a space between the word "partition" and the parenthesis like this:
select * from table_name partition (3)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question