Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Amit.

Asked: August 01, 2017 - 6:24 pm UTC

Last updated: August 03, 2017 - 1:12 am UTC

Version: 12.1

Viewed 1000+ times

You Asked

Hi Masters,
I have below questions with oracle Model clause:

1. Was the name Spreadsheet initially ? When to use Model clause, does it worth learning for oracle ebs developers ? or is it totally warehousing thing ?
2. Why so many people don't use it? shall we learn Match Recognize instead ?
3. help me understanding concept of unique single reference and opposite ?
4. How to use Model with multiple tables ?
5. Please help me understanding the concept of Reference Model, why and when to use these ? is best practice is to use Reference Model instead of multiple tables?
6. Why ordering is so important ?
7. Is there any way to automate loops in it ?


and Connor said...

Rating

  (3 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Few more models

Rajeshwaran Jeyabal, August 02, 2017 - 6:06 am UTC

Connor McDonald
August 03, 2017 - 1:12 am UTC

:-)

Still not clear

Amit Saroha, August 02, 2017 - 4:35 pm UTC

Hi All,
The question still remain unclear:

We should use multiple table or we should use reference Models ?
In which cases reference models should be used?
Connor McDonald
August 03, 2017 - 12:58 am UTC

It *might* seem like this is the same as a join, but dont forget, a model query can *synthesize* data, ie, a table might have

YEAR
----
2000
2001
2002

but the model query could do something like:

dimension by year
my_measure[2017] = ....

so we have "invented" data on the fly. So we might want to use this synthesized data in some way to reference other data. A join *before* the model clause commences wont work, because '2017' doesn't exist. A join *after* the model clause might not work because we want to do calculations with the lookup data whilst doing our modelling.

True Master

Amit Saroha, August 03, 2017 - 2:38 pm UTC

This is what I was looking for, thanks for clarifying it.

Truly a Master ..!!

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library