zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

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

Oracle官方 使用 如何 详细 作用 说明 解释
2023-06-13 09:11:10 时间
本站中文解释

ALL_IDENTIFIERS视图显示了有关Python对象的标识符的摘要和信息。它允许您查询代码里使用的关键字、变量和标识符的详细信息,以及其它代码块中定义的对象。ALL_IDENTIFIERS视图用于帮助编程者正确使用变量、函数等,它包括以下列:

1. IDENTIFIER:指定标识符的名称
2. MAPPED_NAME:此标识符在模块里声明的名称
3. TYPE:指定标识符的种类,如变量、函数、函数参数或者类属性等
4. BLOCK_ID:指明标识符定义在哪种代码块中
5. LINE_NUM:该标识符的定义所在的行号

使用Oracle的ALL_IDENTIFIERS视图的过程如下:

1. 首先,应该使用Python函数inspect获取要查询的模块信息,包括函数声明、变量定义等。

2. 然后,可以使用Oracle视图ALL_IDENTIFIERS去查询定义在不同代码块里的标识符的详细信息,可以同时使用多个过滤条件。

3. 最后,根据需要获得的信息,可以使用SQL查询语句,根据查询的结果获取视图中相关的结果数据。

官方英文解释

ALL_IDENTIFIERS displays information about the identifiers in the stored objects accessible to the current user.

Related Views


DBA_IDENTIFIERS displays information about the identifiers in all stored objects in the database.


USER_IDENTIFIERS displays information about the identifiers in the stored objects owned by the current user. This view does not display the OWNER column.


Contains the value of the character set clause when it is used in a variable identifier declaration. These are the possible values when the character set is derived from another variable identifier:


Column contains the attribute value when %attribute is used in a variable declaration. Possible values:


Contains the type of the length constraint when it is used in a string length constraint declaration. Possible values:


Contains the numeric length constraint value for a string length constraint declaration


Contains the numeric second precision value (for instance, interval types) used in a variable declaration


Contains the numeric lower range value used by a variable declaration with a range constraint


Contains the numeric upper range value used by a variable declaration with a range constraint


This column is set when a NULL constraint is used by a variable declaration. Possible values:


Is set to YES when an identifier is a SQL builtin used in a SQL statement issued from PL/SQL. Otherwise, this column is set to NO.


Indicates whether the identifier is an implicit identifier that does not appear in the source (YES) or not (NO)

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)


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 ALL_IDENTIFIERS 官方解释,作用,如何使用详细说明