Professional Documents
Culture Documents
Permissions were granted from Forsyth Co., N.C. Environmental to use their data in this presentation.
Beginning Note:
Just as any windows based application there
are always many different ways to accomplish the same tasks. (Copy, Paste, Save, etc) Discoverer is no different. This will point out several ways to do the different tasks but it would be too time consuming to cover each and every one.
Administration Edition
Requires an administrator who works
closely with the DBA and the End-Users to identify business area needs. Sets up business areas, folder, items, join conditions, security, etc Monitors security, query execution, and scheduling queries and reports.
End-User Editions
Made for End-Users like YOU. Requires some familiarity with the
Windows environment. Requires some familiarity with the application (Environmental). Most important, there is NO NEED for an in-depth knowledge of Oracle
Key Terminology
EUL (End-User Layer)
Interface between the end-user and the
database Contains business areas, folders, items, etc
Business Area
Set of related information with a common
purpose (Environmental)
Items
Folders contain items (for example the
Inspections folder might contain State ID, Premise name, Score, etc.) Usually relates to a column in a database table
ORACLE DISCOVERER OVERVIEW END USERS (Workbooks & Worksheets) End User Layer (EUL) (Business areas,Folders,Items etc)
Administrator
QUERY #1
We will:
Connect & Sign on to Discoverer 10gPlus Create A New Workbook Build A Simple Table Query Apply Some User Defined Conditions Run The Query Format Column Data And Headings Add A Sort Edit User Defined Conditions Re-run The Query Rename The Worksheet Close And Save The Workbook
You may get a Security Information pop-up. Click Yes to display the items.
Create/Open Workbook
Workbook Step #1 allows you to : Create a new Workbook Or Open an existing workbook Then Choose the type of workbook you want open.
Click on Create a new workbook. We will open an existing workbook later in this session.
Uncheck Title, Graph, and Text Area. Leave the default Table selected and click Next.
Business Area
Select the business area that contains the
information (tables) that you want to use (Environmental). You will only see the business areas you are authorized to see. You will only see the data that belongs to you.
Select the Establishments Folder. Click the (+) sign to the left of Establishments to see the Items.
Selecting Items
Scroll down the list of items To Select an item: Click on the item (word) to highlight it Click the (>) sign in between the 2 panes You will see the selected item displayed in the right pane
To de-select an item
Click on the item in the right pane to
highlight it Click the (<) sign in between the 2 panes The item will no longer be displayed in the right pane.
Once you have selected the items Click the Conditions tab.
Conditions (tip)
It is a good idea to assign a meaningful
name to the condition if: You are going to have multiple worksheets in a workbook. You are going to save and reuse this workbook. You are going to share the workbook with other users.
We will allow to Generate name automatically. Click the arrow under Item to select the item. You will see that the 4 items we selected under on the Items tab.
If you select More Items you will see ALL the items that are in the folder(s) you are working with (Establishments) click Cancel.
(Notice that the item Est Type now has the folders name in front of it.) Arrow down the Condition column and select the conditional expression =
Manually enter 1 in the Values column to select only food service establishments Click OK.
Conditions (tip)
Text values and dates are enclosed in single
quotes.
Table Layout
Workbook Step #3 allows you to re-arrange
the order the items appear on the worksheet.
To re-arrange the items: Click on the column name and drag the
column to the left or right until it is in the desired order.
Click and drag the column names to the desired locations then click Next.
Workbook Step 4 allows you to sort the worksheet by the data points. We will sort the worksheet later in the session click Next.
Workbook Step #5 allows you to add a parameter to the worksheet. This can supply values to a conditional statement. We will add a parameter to the worksheet later in the session. Since this is the last step of the Wizard lets run the query. Click Finish.
You should see the query progress bar informing you of the status of the query.
Notice that at the end of the scroll bar (on right of query) you can click to retrieve the next 250 rows.
Click the Add button to the right then select Premise Name from the drop down Column. Click OK.
The Premise Name (establishment name) should be in alphabetical sequence (numbers and special characters will appear first).
Lets disable the Est Type condition. Click on Tools then click on Conditions.
To disable the Est Type condition, click on the Est Type=1 condition in the Selected window and click the (<) arrow.
This will move the condition back to the left (and the checkmark indicating that the condition is enabled will disappear). Click OK.
Lets edit the Est Type condition. Click on Tools and Conditions.
No. We need to enable the condition. Click on Est Type=2 condition and click the (>) arrow to move the condition to the Selected window and enable it. (Notice that the blue check will reappear showing you that the condition is now enabled.) Click OK.
Change the name from Sheet 1 to Food Stands and click OK.