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 View | 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 folder.
  5. Right-click a package for which the body will be created
  6. Choose New PL/SQL Package from the context menu. .
  7. Type a valid package name in the Create PL/SQL Package dialog and click OK.
  8. A skeleton definition is created and opened in the Code Editor. Edit it to define the body.

Creating, Editing and Using PL/SQL Programs

 

Copyright © 1997, 2004, Oracle. All rights reserved.