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!

mapping synonym

792848Oct 22 2010 — edited Oct 22 2010
Hi,

I need to create a synonym that maps to two table under it, and more over it should map to the table which is most recently populated.

let me make it more clear. I have two table_1 and table_2,and there should be synonym table on the top of these tables.The table_1 gets populated on 1st week of each month and table_2 gets populated on 2nd week of each month. After the table_2 gets populated the table_1 would be truncated and this goes in cyclic ordering. Now i have to create a synonym the changes the mapping each time when one of this table gets populated.

any idea's would be appreciated

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2010
Added on Oct 22 2010
3 comments
332 views