Information on Functions

The user_procedures view has information on your functions. Some of the columns in user_procedures:

ColumnTypeDescription
OBJECT_NAMEVARCHAR2(30)The object name, which may be a procedure, function, or package name
PROCEDURE_NAMEVARCHAR2(30)The procedure name
AGGREGATEVARCHAR2(3)Whether the procedure is an aggregate function(YES or NO)
IMPLTYPEOWNERVARCHAR2(30)The owner
IMPLTYPENAMEVARCHAR2(30)The name
PARALLELVARCHAR2(3)Whether the procedure is enabled for parallel queries (YES or NO)

SQL>
SQL> SELECT object_name, aggregate, parallel
  2  FROM user_procedures
  3  WHERE object_name IN ('CIRCLE_AREA', 'AVERAGE_SALARY');

OBJECT_NAME                    AGG PAR
------------------------------ --- ---
AVERAGE_SALARY                 NO  NO
CIRCLE_AREA                    NO  NO

SQL>
Home »
Oracle »
PL/SQL » 

Functions:
  1. Create a function
  2. Call a function with named and mixed notation
  3. Return the average salary
  4. Information on Functions
  5. Dropping a Function
Related: