Solved

how to select data from a particular partition

Posted on 2008-06-26
2
7,684 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 142

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to connect SQL Server from my Oracle database? 11 97
Select and Insert Query running slow 4 35
Use of Exception to end a Loop 3 31
PL SQL Developer 7 34
Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to recover a database from a user managed backup

770 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