Skip to Main Content

Oracle Database Discussions

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!

Dynamic Partition Table

user570444Nov 21 2010 — edited Nov 22 2010
Hi, I'm try to define a dynamic DATE partition table with 3 partitions as follow:

1st partition must contain records for date>=sysdate-1 (yesterday and today)
2nd partition must contain records for date>=trunc(add_months(sysdate-1,-1),'mm') and date<=sysdate-1 (Last month and present month except yesterday and today)
3rd partition must contain records for date<trunc(add_months(sysdate-1,-1),'mm')

This is under Oracle EE 10g on ETL enviroment

Any idea??

Thanks in advance

Alfredo
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2010
Added on Nov 21 2010
2 comments
132 views