Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
Logical Change Record Types, 4 of 6
The following functions and procedures are common to both the LCR$_ROW_RECORD
and LCR$_DDL_RECORD
type.
Returns the command type of the LCR.
See Also:
The "SQL Command Codes" table in the Oracle Call Interface Programmer's Guide for a complete list of command types |
MEMBER FUNCTION GET_COMMAND_TYPE RETURN VARCHAR2;
Returns the name of the object that is changed by the LCR.
MEMBER FUNCTION GET_OBJECT_NAME RETURN VARCHAR2;
Returns the owner of the object that is changed by the LCR.
MEMBER FUNCTION GET_OBJECT_OWNER RETURN VARCHAR2;
Returns the system change number (SCN) of the LCR.
MEMBER FUNCTION GET_SCN RETURN NUMBER;
Returns the global name of the source database name. The source database is the database where the change occurred.
MEMBER FUNCTION GET_SOURCE_DATABASE_NAME RETURN VARCHAR2;
Returns the tag for the LCR. An LCR tag is a binary tag that enables tracking of the LCR. For example, this tag may be used to determine the original source database of the DML or DDL change when apply forwarding is used.
See Also:
Oracle9i Streams for more information about tags |
MEMBER FUNCTION GET_TAG RETURN RAW;
Returns the transaction identifier of the LCR.
MEMBER FUNCTION GET_TRANSACTION_ID RETURN VARCHAR2;
Returns Y
if the tag for the LCR is NULL
, or returns N
if the tag for the LCR is not NULL
.
See Also:
Oracle9i Streams for more information about tags |
MEMBER FUNCTION IS_NULL_TAG RETURN VARCHAR2;
Sets the command type. If the command type specified cannot be interpreted, then an error is raised. For example, changing INSERT
to GRANT
would raise an error.
See Also:
|
MEMBER PROCEDURE SET_COMMAND_TYPE( command_type IN VARCHAR2);
Parameter | Description |
---|---|
|
The command type. This parameter should be set to a non- |
Sets the name of the object that is changed by the LCR.
MEMBER PROCEDURE SET_OBJECT_NAME( object_name IN VARCHAR2);
Parameter | Description |
---|---|
|
The name of the object |
Sets the owner of the object that is changed by the LCR.
MEMBER PROCEDURE SET_OBJECT_OWNER( object_owner IN VARCHAR2);
Parameter | Description |
---|---|
|
The schema that contains the object |
Sets the source database name of the object that is changed by the LCR.
MEMBER PROCEDURE SET_SOURCE_DATABASE_NAME( source_database_name IN VARCHAR2);
Sets the tag for the LCR. An LCR tag is a binary tag that enables tracking of the LCR. For example, this tag may be used to determine the original source database of the change when apply forwarding is used.
See Also:
Oracle9i Streams for more information about tags |
MEMBER PROCEDURE SET_TAG( tag IN RAW);
Parameter | Description |
---|---|
|
The binary tag for the LCR. The size limit for a tag value is two kilobytes. |
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|