Finding the oldest partition in oracle
574641Apr 12 2010 — edited Apr 20 2010Hi,
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