Oracle SQL Developer
Oracle SQL Developer
Oracle SQL Developer
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Create/Edit View3.21 Create/Edit User Defined Report FolderThe following information applies to a folder for organizing user-defined reports. Eachfolder can contain reports and other folders (subfolders). For example, you can create afolder named Sales, and then under that folder create folders named Sales by Districtand Sales by Product.For information about how to create user-defined reports and folders for these reports,see User Defined reports.Name: Name of the folder.Description: Optional description of the folder.ToolTip: Optional tooltip text to be displayed when the mouse pointer stays brieflyover the folder name in the Reports navigator display.Related TopicsReportsUser Defined reports3.22 Create/Edit ViewThe view dialog box is used for creating or editing a view or materialized view. Youmust use the Entire <strong>SQL</strong> Query tab to specify the query part of the view definition,and you can use one or more other tabs (depending on the type of view) for otherparts of the definition.If you click OK before you are finished creating or editing the view, right-click theview name in the Connections navigator, select Edit, and continue creating or editingthe view.Schema: Database schema in which to create the view.Name: Name of the view. Must be unique within a schema.Entire <strong>SQL</strong> Query tabSpecifies the query part of the view definition, using the SELECT and FROMkeywords and usually a WHERE clause with whatever syntax is needed to retrieve thedesired information.For example, the following query, from the Creating a View tutorial topic, selectscolumns from the Patrons and Transactions tables, ordering them first by values in thethe PATRON_ID column in the Patrons table and then by values in theTRANSACTION_TYPE column in the Transactions table. The result is a listing bypatron ID of all patrons who had transactions, and for each listed patron thetransaction information listed by transaction typeCREATE VIEW patrons_trans_view ASSELECT p.patron_id, p.last_name, p.first_name,t.transaction_type, t.transaction_dateFROM patrons p, transactions tWHERE p.patron_id = t.patron_idORDER BY p.patron_id, t.transaction_type;<strong>SQL</strong> Parse Results: If you click Test Syntax, displays any <strong>SQL</strong> syntax errors, ordisplays a message indicating no errors if there are no syntax errors.Revert: Cancels any edits you have made in the Entire <strong>SQL</strong> Query box, and displaysthe contents of the box before these edits.Dialog Boxes for Creating/Editing Objects 3-19