RE: table partitions and views

From: Jeremiah Wilton <>
Date: Mon, 12 Jan 2009 14:51:46 -0800
Message-ID: <02be01c97508$5a9ac390$0fd04ab0$_at_net> wrote:

> ...I have two scheams with numerous tables, each with partitions based on
> a date. The second parition starts with this year's data for a new group
> that was formed. I'd like to make queries automagically pull data from
> a table in the original schema if the query uses a date prior to the
> start of the year.

Strictly speaking, the way to do this within the relational model would have been to add a column to the partitioned table for "group" (whatever that is) rather than create a new schema.

I suppose you could create a union all view across the two tables.

Or maybe this is logic more appropriately handled within the application.


Jeremiah Wilton
ORA-600 Consulting

Received on Mon Jan 12 2009 - 16:51:46 CST

Original text of this message