Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query a partitoned table for data spanning in multiple partition
Guys I have found the solution.
The concept to use to different partition data is called patition prunining.
This comes to picture when we specify the partitioning key in the where clause of the query.
So solution to my original query will become something like...
Here the table SALES is paritioned on month basis, and the key is tran_month_key, now when oracle engine finds this in where clause it will automatically pick data only from the required partitions.
![]() |
![]() |