Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Finding the oldest partition in oracle

574641Apr 12 2010 — edited Apr 20 2010
Hi,

I have a requirement to select data from the oldest partition in an oracle range partitioned table by date.

How do I dynamically detetermine which is the oldest partition?

I tried using MIN(high_value) from user_tab_partitions, but getting the error that "ilegal usage of LONG column"

How do I accomplish this?

Thanks,
Saff
This post has been answered by MichaelS on Apr 12 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2010
Added on Apr 12 2010
8 comments
4,682 views