miss [message #276257] |
Wed, 24 October 2007 09:33 |
rebeccah@falcorp.co.za
Messages: 26 Registered: October 2007 Location: midrand
|
Junior Member |
|
|
hi all
i'm new to the site and to oracle reporting using discover, i yread somewhere here that i can generate report by writing my own sql
where do i get an option like that
I always drag and drop fields/columns and rows
please help with the steps of whee to click so that i can type as ive noticed my relationship between the tables are not that clear/good
from rebeccah
junior oracle developer
|
|
|
Re: miss [message #276273 is a reply to message #276257] |
Wed, 24 October 2007 10:30 |
skooman
Messages: 913 Registered: March 2005 Location: Netherlands
|
Senior Member |
|
|
Rebeccah,
That option can be used by creating a new "custom folder", while choosing that, you get a blank screen where you can start typing SQL.
However, that will not resolve any issues you have with joins between tables, since that will only create one single folder. Afterwards, you can create joins to that folder, in the same way you always do that.
What's wrong with the relationships you've created?
Regards,
Sabine
|
|
|
|
Re: [message #276618 is a reply to message #276385] |
Thu, 25 October 2007 11:14 |
skooman
Messages: 913 Registered: March 2005 Location: Netherlands
|
Senior Member |
|
|
As for the relationships: basically, you'll have to know the design of the datamodel. The developers/designers of the model should have documented it, if not they're lousy developers
So, ask for the documentation.
However, since you're mentioning facts and dimensions, I assume it's a star schema. Usually, these schemas are pretty straight forward. Look for anything you consider to be a potential dimension (like customers, products, time, etc.). A small number of tables remaining, with a lot of id columns and some numeric data will most probably be the facts.
(wow, I just invented the most down to earth description of modelling a star schema I've come accross in a long time... )
As for the performance: there is no way on earth anyone can tell you how to speed things up with this little information. Oh no, there is: add more hardware. Apart from that, you'll have to get into the model, the statistics, the explain plans, etc. If you have an actual query that's not fast enough for the purpose, let us know, we will try to help you.
|
|
|