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

本站中文解释

Oracle视图ALL_STREAMS_TRANSFORM_FUNCTION是一个视图,可以显示特定用户定义的流转换函数信息。该视图包含六个字段:

TRANSFORM_FUNCTION:指定的转换函数的名称
SCHEMA_NAME:转换函数的所有者
FUNCTION_TYPE:是一个字符串,可以是”COARSE_GRAIN”、”MEDIUM_GRAIN”或者”FINE_GRAIN”
TABLE_NAME:定义转换函数的表名
COLUMN_NAME:绑定转换函数的列名
VERSION:绑定转换函数的版本号

使用ALL_STREAMS_TRANSFORM_FUNCTION视图,可以查看特定用户定义的流转换函数信息,这对于排除Oracle Streams重复问题有很大帮助。例如,可以使用以下查询来检索给定Schema下的所有流转换函数:

SELECT *
FROM ALL_STREAMS_TRANSFORM_FUNCTION
WHERE SCHEMA_NAME = ‘your_schema’;

官方英文解释

ALL_STREAMS_TRANSFORM_FUNCTION displays information about the rule-based transformation functions accessible to the current user.

Related View

DBA_STREAMS_TRANSFORM_FUNCTION displays information about all rule-based transformation functions in the database.

Column Datatype NULL Description

RULE_OWNER

VARCHAR2(128)

NOT NULL

Owner of the rule associated with the transformation function

RULE_NAME

VARCHAR2(128)

NOT NULL

Name of the rule associated with the transformation function

VALUE_TYPE

VARCHAR2(4000)

Type of the transformation function name. This type must be VARCHAR2 for a rule-based transformation to work properly.

TRANSFORM_FUNCTION_NAME

VARCHAR2(4000)

Name of the transformation function (NULL if VALUE_TYPE is not VARCHAR2)

CUSTOM_TYPE

VARCHAR2(11)

Type of the transformation function:

  • ONE TO ONE – One-to-one transformations

  • ONE TO MANY – One-to-many transformations

See Also:

“DBA_STREAMS_TRANSFORM_FUNCTION”


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