optional Specify a more descriptive name for the new folder in the Name field. optional Specify a description for the new folder in the Description field.

6-10 Oracle Fusion Middleware Administrators Guide for Oracle Business Intelligence Discoverer You can include comments as separate lines within the SQL statement by starting the comment line with two dash characters - -.

4. Specify the name of the custom folder in the Name field.

5. Click Validate SQL to ensure you have entered valid SQL. 6. Click OK to validate the SQL statement and save the custom folder. Notes ■ To enable you to create custom folders before the underlying database objects have been created or made available, Discoverer Administrator permits you to save a custom folder even if the SQL is invalid. Note that Discoverer end users will not be able to query the database object until the SQL is valid. ■ For examples of SQL statements you might enter, see Examples of custom folders . ■ Where the SQL references multiple database objects, you must define joins between those objects. For more information, see Chapter 10, Creating and Maintaining Joins . ■ Discoverer does not allow you to use the WITH clause in the custom folder SQL How to edit folder properties To edit the properties of a folder:

1.

On the Workarea: Data tab , click the folder to select it. You can select more than one folder by pressing the Ctrl key and clicking another folder. 2. Choose Edit | Properties to display the Folder Properties dialog . Figure 6–6 Folder Properties dialog If you selected multiple folders, the Folder Properties dialog displays a value for each property that has the same value for all of the selected folders. If the value for a particular property is not the same for all of the selected folders, no value is displayed for that property. 3. Make the changes as required. Creating and Maintaining Folders 6-11 Tip : To save the changes you make as you make them, select the Automatically save changes after each edit check box. With this option selected, you do not have to click OK or Apply. 4. Click OK to save the changes you have made. Notes ■ You can assign a folder to more than one business area. However, there is only ever one definition of the folder in the EUL and that definition is shared by all the business areas to which the folder is assigned. If you modify the folder definition, the change is reflected in all the business areas to which the folder is assigned. For more information, see About sharing folders across business areas . ■ You can change a folder’s name at any time because Discoverer Administrator identifies folders using unique identification labels called identifiers for more information, see What are identifiers? . Changing a folder’s name does not alter the structure of the business area. However, folder names must be unique within the EUL. Note also that item names must be unique within a particular folder. ■ If you change the name of an item, this might affect the names of secondary elements for example, joins, hierarchies, hierarchy nodes, item classes that have the Auto generate name property set to Yes for more information, see About generating and updating EUL item names automatically . ■ You can change the database user that owns the database object on which a simple folder is based without changing the name of the object itself. For example, you might want to do this when moving from a development to a production environment. To change the database user, click the button beside the Owner field to display the Choose user or tableview dialog and specify the new database user. ■ You can base a simple folder on a tableview without specifying the database user that owns that tableview. You might want to do this: ■ to enable different Discoverer Plus users to access database tablesviews that have the same name but which exist in their own database users for example, for Oracle Applications users ■ to createmaintain an EUL for which the tables or table owners are not yet available ■ to createmaintain an EUL to which you as the Discoverer Manager do not have access ■ to move the EUL between different databases where the person who owns the data is different To base a simple folder on a tableview without specifying the database user name, clear the Owner field. When the Owner field is left blank, Discoverer Administrator generates SQL that does not include the owner before the table name. For example, if the Owner field contains the name of the schema that owns the tableview, the generated SQL statement might be: select column from owner.table If you clear the Owner field, the generated SQL statement would be: select column from table If the object is not in the current schema, a warning is displayed.