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 ViewTest Syntax: Checks the statement in the Entire <strong>SQL</strong> Query box for any <strong>SQL</strong> syntaxerrors.View Information or Materialized View Information tabOptions for a standard view:Restrict Query: If this option is checked, you can enable one of the following options■Read Only: Prevents the view from being used to add, delete, or change data inthe underlying table or tables.■ Check Option: If this option is checked, it prohibits any changes to the underlyingtable or tables that would produce rows that are not included in this view.Force on create: If this option is checked, the view is created even if it has errors in itsdefinition. This option is useful if you want to create the view regardless of any errors,and go back and correct the errors later. If this option is not checked, the view is notcreated is its definition contains any errors.Options for a materialized view:Refresh Options:Method: The method of refresh operation to be performed:■■■Complete Refresh: Executes the defining query of the materialized view, even if afast refresh is possible.Fast Refresh: Uses the incremental refresh method, which performs the refreshaccording to the changes that have occurred to the master tables. The changes forconventional DML changes are stored in the materialized view log associated withthe master table.The changes for direct-path INSERT operations are stored in thedirect loader log.Forced Refresh: Performs a fast refresh if one is possible; otherwise, performs acomplete refresh.■ Never: Do not perform refresh operations.When: The type of refresh operation to be performed:■■Automatic: Automatically performs a refresh operation, starting and continuing asspecified in the remaining fields.On Commit: Performs a fast refresh whenever the database commits a transactionthat operates on a master table of the materialized view. This may increase thetime taken to complete the commit, because the database performs the refreshoperation as part of the commit process.■ On Demand: Performs a refresh when one of the DBMS_MVIEW refreshprocedures is called.Type: Refresh type, which determines the type of materialized view:■■Primary Key: Creates a primary key materialized view, which allows materializedview master tables to be reorganized without affecting the eligibility of thematerialized view for fast refresh.Row ID: Creates a rowid materialized view, which is useful if the materializedview does not include all primary key columns of the master tables.Start on: Starting date and time for the first automatic refresh operation. Must be inthe future.3-20 <strong>SQL</strong> <strong>Developer</strong> Online Help