Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_DDL, 2 of 3


ALTER_COMPILE Procedure

This procedure is equivalent to the following SQL statement:

ALTER PROCEDURE|FUNCTION|PACKAGE [<schema>.] <name> COMPILE [BODY]

If the named object is this package, or any packages upon which it depends (currently, STANDARD or DBMS_STANDARD), then the procedure simply returns, and these packages are successfully compiled.

Syntax

DBMS_DDL.ALTER_COMPILE (
   type   VARCHAR2, 
   schema VARCHAR2, 
   name   VARCHAR2);

Parameters

Table 8-2 ALTER_COMPILE Procedure Parameters
Parameter  Description 
type
 

Must be either PROCEDURE, FUNCTION, PACKAGE, PACKAGE BODY or TRIGGER. 

schema
 

Schema name.

If NULL, then use current schema (case-sensitive). 

name
 

Name of the object (case-sensitive). 

Exceptions

Table 8-3 ALTER_COMPILE Procedure Exceptions
Exception  Description 
ORA-20000:
 

Insufficient privileges or object does not exist. 

ORA-20001:
 

Remote object, cannot compile. 

ORA-20002:
 

Bad value for object type

Should be either PACKAGE, PACKAGE BODY, PROCEDURE, FUNCTION, or TRIGGER


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback