Editing Package Definition

Edit the package definition under the Definition tab.

The Code Outline window displays information about the package including function, procedure, parameter, code body, etc. To show the Code Outline window, simply choose View -> Code Outline.

Note: Available only in Full Version.

Refresh the code outline.
Show the detail view of the code outline.
Turn mouse over highlight on or off.
Expand the selected item.
Collapse the selected item.
Toggle sorting by position.

The SQL statements for creating packages are CREATE PACKAGE. In practice, it is best to use a CREATE OR REPLACE statement. The general form of these statements follows.

      CREATE OR REPLACE 
      PACKAGE /*PACKAGE NAME*/ AS 
        /* TODO enter package declarations (types, exceptions, methods etc) here */ 
      end; 

Hint: To customize the view of the editor and find out more features for sql editing, see Editor View and More Features.