Jules,<br>
<br>
Why do you think that you have to name the specific partition?<br>
<br>
If you specify the columns comprising the partition key in the predicates of your WHERE clause, it will prune partitions appropriately, automatically.<br>
<br>
So, if your WHERE clause logically limits the SQL statement to only one partition, then that is the only partition that will be accessed. If your WHERE clauses crosses multiple partitions but not all, then only those will be accessed.<br>
<br>
Verifying this via EXPLAIN PLAN is possible but a little counter-intuitive. If you access only one partition, EXPLAIN PLAN returns a phrase like "TABLE ACCESS ...", which makes it sound like it's accessing the entire table with all partitions. In reality, it's indicating that it's accessing one segment (i.e. one partition), not multiple. If your SQL statement accesses multiple partitions (or all partitions), you'll see EXPLAIN PLAN display a phrase like "concatenate partition" or something. This means that its scanning multiple partitions...<br>
<br>
So, unless you're doing something unusual (i.e. DDL like CREATE, DROP, ALTER, or TRUNCATE), you should not need to specify the particular partition(s)...<br>
<br>
Hope this helps...<br>
<br>
-Tim