Oracle SQL Developer
Oracle SQL Developer
Oracle SQL Developer
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Database Objectscontaining the master tables are called the master databases. For help with specificoptions in creating a materialized view, see Create/Edit View, especially the ViewInformation or Materialized View Information tab.1.2.6 Materialized View Logs1.2.7 Packages1.2.8 ProceduresA materialized view log is a table associated with the master table of a materializedview. When DML changes are made to master table data, <strong>Oracle</strong> Database stores rowsdescribing those changes in the materialized view log and then uses the materializedview log to refresh materialized views based on the master table. This process is calledincremental or fast refresh. Without a materialized view log, <strong>Oracle</strong> Database mustre-execute the materialized view query to refresh the materialized view. This process iscalled a complete refresh. Usually, a fast refresh takes less time than a complete refresh.A package is an object that contains subprograms, which are programming objects thatcan be stored and executed in the database server, and called from other programmingobjects or applications. A package can contain functions or procedures, or both. Forhelp with specific options in creating a package, see Create PL/<strong>SQL</strong> Function,Procedure, or Package.You can perform the following operations on a package by right-clicking the packagename in the Connections navigator and selecting an item from the menu:■■New Package Body: Displays a pane in which you can enter text for the packagebody.Drop: Deletes the package.A procedure is a type of PL/<strong>SQL</strong> subprogram, which is a programming object that canbe stored and executed in the database server, and called from other programmingobjects or applications. (Procedures do not return a value; functions return a value.)For help with specific options in creating a PL/<strong>SQL</strong> subprogram, see Create PL/<strong>SQL</strong>Function, Procedure, or Package.You can perform the following operations on a procedure by right-clicking theprocedure name in the Connections navigator and selecting an item from the menu:■■■■■■■■Open: Displays the procedure text so that you can view and edit it.Compile: Performs a PL/<strong>SQL</strong> compilation of the procedure.Compile with Debug: Performs a PL/<strong>SQL</strong> compilation of the procedure, withPL/<strong>SQL</strong> library units compiled for debugging.Run: Displays the Run/Debug PL/<strong>SQL</strong> dialog box, and then executes theprocedure in normal (not debug) mode.Debug: Displays the Run/Debug PL/<strong>SQL</strong> dialog box, and then executes theprocedure in debug mode.Execution Profile: Displays the execution profile for the procedure.Drop: Deletes the procedure.Compile Dependants: Performs a PL/<strong>SQL</strong> compilation of the procedure and anyrelevant dependent subprograms (see the Dependencies tab).1-8 <strong>SQL</strong> <strong>Developer</strong> Online Help