Oracle 视图 ALL_SOURCE_AE 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图ALL_SOURCE_AE用于记录包含原始脚本字符串的资源,目前主要用于存于数据库内的视图,序列,函数,存储过程等。它是ALL_SOURCE视图的一个可选子视图,只显示那些必须使用编译环境类别为’AE’(例如视图,序列,存储过程)的对象的源代码,它以某种形式编译或执行,而无需返回文本结果集。

ALL_SOURCE_AE视图包括以下列:
– OWNER:下载资源的拥有者名称;
– NAME:下载资源的名称;
– TYPE:下载资源的类型;
– LINE:源文件行编号;
– TEXT:源文件行文本。

可以使用ALL_SOURCE_AE视图来查看视图,存储过程,函数等的源文件,以便于了解Oracle数据库,并为它们提供更好的组织和管理。

官方英文解释

ALL_SOURCE_AE describes the text source of the stored objects (across all editions) accessible to the current user.

Related Views

  • DBA_SOURCE_AE describes the text source of all stored objects (across all editions) in the database.

  • USER_SOURCE_AE describes the text source of the stored objects (across all editions) owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

Owner of the object

NAME

VARCHAR2(128)

Name of the object

TYPE

VARCHAR2(12)

Type of the object:

  • TYPE

  • TYPE BODY

  • PROCEDURE

  • FUNCTION

  • PACKAGE

  • PACKAGE BODY

  • LIBRARY

  • JAVA SOURCE

LINE

NUMBER

Line number of this line of source

TEXT

VARCHAR2(4000)

Source text

EDITION_NAME

VARCHAR2(128)

Name of the Edition

ORIGIN_CON_ID

NUMBER

The ID of the container where the data originates. Possible values include:

  • 0: This value is used for rows in non-CDBs. This value is not used for CDBs.

  • n: This value is used for rows containing data that originate in the container with container ID n (n = 1 if the row originates in root)

See Also:

  • “DBA_SOURCE_AE”

  • “USER_SOURCE_AE”


数据运维技术 » Oracle 视图 ALL_SOURCE_AE 官方解释,作用,如何使用详细说明