Oracle 视图 ALL_IND_EXPRESSIONS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 ALL_IND_EXPRESSIONS 是Oracle数据库中的数据字典视图,用以查看一个表上使用的索引的表达式信息,包括索引列、表达式、函数、索引表空间及其他额外属性等内容。它返回所有具有表达式索引的表,无论它们属于当前用户还是其他用户。
使用 ALL_IND_EXPRESSIONS 视图,可以查询表上的索引表达式信息,语法如下:
SELECT index_owner, table_name, column_position, column_expression, column_name
FROM all_ind_expressions
WHERE index_owner = ‘username’
AND table_name = ‘tablename’;
这条语句将返回 username 用户下 tablename 表上所有使用的表达式索引的相关信息。
官方英文解释
ALL_IND_EXPRESSIONS
describes the expressions of function-based indexes on tables accessible to the current user.
Related Views
DBA_IND_EXPRESSIONS
describes the expressions of all function-based indexes in the database.USER_IND_EXPRESSIONS
describes the expressions of function-based indexes on tables owned by the current user. This view does not display theINDEX_OWNER
orTABLE_OWNER
columns.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
| Owner of the index |
|
|
| Name of the index |
|
|
| Owner of the table or cluster |
|
|
| Name of the table or cluster |
|
| Function-based index expression defining the column | |
|
|
| Position of the column or attribute within the index |
See Also:
“DBA_IND_EXPRESSIONS”
“USER_IND_EXPRESSIONS”
编辑:568数据
标签:表达式,索引,视图,表上,用户