Creating PL/SQL Package Bodies

Bodies for PL/SQL packages can be created in the database through a JDBC connection. You cannot create a body for a package that already has one.

To create a package body:

  1. Select Viewthen choose Connection Navigator.
  2. Expand Database and select a database connection.
  3. In the connection, select and expand a schema.
  4. In the schema, expand the Packages node.
  5. Right-click the package for which the body will be created, and choose New PL/SQL Package.
  6. Type a valid package name in the Create PL/SQL Package dialog and click OK.
  7. A skeleton definition is created and opened in the Code Editor. Edit it to define the body.

Creating, Editing and Using PL/SQL Programs