Oracle 视图 ALL_PROCEDURES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 ALL_PROCEDURES 是用于查看当前用户可访问的所有存储过程的视图。此视图所显示的信息包括:存储过程的名称、所有者、当前签名(参数个数和类型)、定义日期和存储过程定义文本。
要使用 ALL_PROCEDURES 视图,可使用 SELECT 语句到视图中获取必要的信息。例如,如果要查询具有两个参数的存储过程:
SELECT procedure_name,owner,date_created FROM all_procedures WHEREsignature = ‘params 2’;
这将查询当前用户可以访问的具有两个参数的存储过程的名称,所有者和定义日期。
官方英文解释
ALL_PROCEDURES
lists all functions and procedures that are accessible to the current user, along with associated properties. For example, ALL_PROCEDURES
indicates whether or not a function is pipelined, parallel enabled or an aggregate function. If a function is pipelined or an aggregate function, the associated implementation type (if any) is also identified.
Related Views
-
DBA_PROCEDURES
lists all functions and procedures available in the database, along with associated properties. -
USER_PROCEDURES
lists all functions and procedures owned by the current user, along with associated properties. It does not contain theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the procedure |
|
|
|
Name of the object: top-level function, procedure, or package name |
|
|
|
Name of the procedure |
|
|
|
Object number of the object |
|
|
|
Unique subprogram identifier |
|
|
|
Overload unique identifier |
|
|
|
The typename of the object |
|
|
|
Indicates whether the procedure is an aggregate function ( |
|
|
|
Indicates whether the procedure is a pipelined table function ( |
|
|
|
Owner of the implementation type, if any |
|
|
|
Name of the implementation type, if any |
|
|
|
Indicates whether the procedure or function is parallel-enabled ( |
|
|
|
|
|
|
|
|
|
|
|
Indicates whether the procedure/function is declared to execute as |
|
|
|
Indicates whether the function is result–cached ( |
|
|
|
The ID of the container where the data originates. Possible values include:
|
|
|
|
The type of polymorphic table function:
|
|
|
|
Indicates whether the procedure is a SQL macro. Possible values:
|
|
|
|
For internal use only |
|
|
|
For internal use only |
Footnote 1 This column is available starting with Oracle Database 21c.
See Also:
-
“DBA_PROCEDURES”
-
“USER_PROCEDURES”
-
“ALL_ARGUMENTS” for information about the arguments of the functions and procedures that are accessible to the current user