Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Help - Design metadata layer for dynamic joins

Help - Design metadata layer for dynamic joins

From: AK <aknntp_at_yahoo.com>
Date: 3 Nov 2004 16:41:42 -0800
Message-ID: <f54c6679.0411031641.29a8a49a@posting.google.com>


I need to do create a query dynamically, based on a variable number of fields selected by a user.
- A user can select from a list of hundreds of fields. The fields are
from various related tables in one Oracle schema.
- I have to design and build a way to create a query on-the-fly that
returns the selected fields.
- To avoid running a query for all the columns if only a subset of
1000 columns is selected, the query needs to be built with only those tables and joins required for the columns selected. So naturally, this involves creating a metadata layer with join information that will help create this query on-the-fly.

Are there any standard design patterns for designing and building such a metadata layer?

Any examples, tips or reference articles would be appreciated. Received on Wed Nov 03 2004 - 18:41:42 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US