Compiling PL/SQL Programs

To compile a PL/SQL program:

  1. Select View | Connection Navigator .
  2. Expand Database.
  3. Select a database connection and expand it.
  4. Select a schema and expand it.
  5. Select Packages and expand it.
  6. Select a folder.
  7. Right-click the program, and choose Make from the context menu. This saves and compiles the code by sending the source to the database as a CREATE OR REPLACE FUNCTION statement.

Invoking Make causes the program to be modified in the database, regardless of the success of the compilation. Any previous definition of the program will be lost. (In the case of PL/SQL programs, Make, Rebuild, and Save have the same effect.)

Note: Package bodies are contained within their Package folders.


Creating, Editing and Using PL/SQL Programs

 

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