Get a procedure that is defined in package
get
/database/objects/packages/procedures/{object_id},{subprogram_id}
Returns the corresponding record from DBA_PROCEDURES or ALL_PROCEDURES view depending on role at runtime. Records included in the response are where OBJECT_TYPE = 'PACKAGE' and PROCEDURE_NAME is not null. A client requires SQL Administrator or SQL Developer role to invoke this service.
Request
Path Parameters
-
object_id(required): number
Object identifier for the package the procedure belongs to.
-
subprogram_id(required): number
Subprogram identifier for the procedure.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Information on the specified procedure.
Root Schema : DatabaseObjectsProceduresItem
Type:
object
Describes a procedure available in the database, along with associated properties. The list of attributes may vary depending on database version.
Show Source
-
aggregate: string
Indicates whether the procedure is an aggregate function (YES) or not (NO).
-
authid: string
Indicates whether the procedure/function is declared to execute as DEFINER or CURRENT_USER (invoker).
-
deterministic: string
YES, if the procedure/function is declared to be deterministic; otherwise NO.
-
impltypename: string
Name of the implementation type, if any.
-
impltypeowner: string
Owner of the implementation type, if any.
-
interface: string
YES, if the procedure/function is a table function implemented using the ODCI interface; otherwise NO.
-
links: array
links
-
object_id: integer
Object number of the object.
-
object_name: string
Name of the procedure package.
-
object_type: string
The typename of the object.
-
origin_con_id: integer
The ID of the container where the data originates.
-
overload: string
Overload unique identifier.
-
owner: string
Owner of the procedure.
-
parallel: string
Indicates whether the procedure or function is parallel-enabled (YES) or not (NO).
-
pipelined: string
Indicates whether the procedure is a pipelined table function (YES) or not (NO).
-
polymorphic: string
The type of polymorphic table function.
-
procedure_name: string
Name of the procedure.
-
result_cache: string
Indicates whether the function is result???cached (YES) or not (NO).
-
subprogram_id: integer
Unique subprogram identifier.