| Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
DBMS_STREAMS, 2 of 2
Converts a SYS.AnyData object into a SYS.LCR$_DDL_RECORD object. You can specify this function in a rule-based transformation when propagating data definition language (DDL) LCRs from a SYS.AnyData queue to a SYS.LCR$_DDL_RECORD typed queue.
Alternatively, you can use this function in a transformation created by the CREATE_TRANSFORMATION procedure in the DBMS_TRANSFORM package. Then, use the transformation you create when you add a subscriber for propagation of DDL LCRs from a SYS.AnyData queue to a SYS.LCR$_DDL_RECORD typed queue.
| See Also:
Oracle9i Streams for more information about this function |
DBMS_STREAMS.CONVERT_ANYDATA_TO_LCR_DDL( source IN SYS.AnyData) RETURN SYS.LCR$_DDL_RECORD;
| Parameter | Description |
|---|---|
|
|
The |
Converts a SYS.AnyData object into a SYS.LCR$_ROW_RECORD object. You can use this function in a rule-based transformation when propagating row LCRs from a SYS.AnyData queue to a SYS.LCR$_ROW_RECORD typed queue.
Alternatively, you can use this function in a transformation created by the CREATE_TRANSFORMATION procedure in the DBMS_TRANSFORM package. Then, use the transformation you create when you add a subscriber for propagation of row LCRs from a SYS.AnyData queue to a SYS.LCR$_ROW_RECORD typed queue.
| See Also:
Oracle9i Streams for more information about this function |
DBMS_STREAMS.CONVERT_ANYDATA_TO_LCR_ROW( source IN SYS.AnyData) RETURN SYS.LCR$_ROW_RECORD;
| Parameter | Description |
|---|---|
|
|
The |
Returns information about various Streams attributes.
DBMS_STREAMS.GET_INFORMATION( name IN VARCHAR2) RETURN SYS.AnyData;
Gets the binary tag for all redo entries generated by the current session.
| See Also:
Oracle9i Streams for more information about tags |
DBMS_STREAMS.GET_TAG() RETURN RAW;
The following example illustrates how to display the current LCR tag as output:
SET SERVEROUTPUT ON DECLARE raw_tag RAW(2000); BEGIN raw_tag := DBMS_STREAMS.GET_TAG(); DBMS_OUTPUT.PUT_LINE('Tag Value = ' || RAWTOHEX(raw_tag)); END; /
You can also display the value by querying the DUAL view:
SELECT DBMS_STREAMS.GET_TAG FROM DUAL;
Sets the binary tag for all redo entries subsequently generated by the current session. Each redo entry generated by DML or DDL statements in the current session will have this tag. This procedure affects only the current session.
| See Also:
Oracle9i Streams for more information about tags |
DBMS_STREAMS.SET_TAG( tag IN RAW DEFAULT NULL);
To set the tag to the hexadecimal value of '17' in the current session, run the following procedure:
EXEC DBMS_STREAMS.SET_TAG(tag => HEXTORAW('17'));
|
![]() Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|