Oracle8i Supplied PL/SQL Packages Reference Release 2 (8.1.6) Part Number A76936-01 |
|
DBMS_DEFER_QUERY, 2 of 2
Subprogram | Description |
---|---|
GET_ARG_FORM Function |
Determines the form of an argument in a deferred call. |
GET_ARG_TYPE Function |
Determines the type of an argument in a deferred call. |
GET_CALL_ARGS Procedure |
Returns the text version of the various arguments for the specified call. |
GET_datatype_ARG Function |
Determines the value of an argument in a deferred call. |
This function determines the form of an argument in a deferred call. This function returns the character set ID of a deferred call parameter.
DBMS_DEFER_QUERY.GET_ARG_FORM ( callno IN NUMBER, arg_no IN NUMBER, deferred_tran_id IN VARCHAR2) RETURN NUMBER;
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
Return Value | Corresponding Datatype |
---|---|
1 |
CHAR, VARCHAR2, CLOB |
2 |
NCHAR, NVARCHAR2, NCLOB |
This function determines the type of an argument in a deferred call. The type of the deferred remote procedure call (RPC) parameter is returned.
DBMS_DEFER_QUERY.GET_ARG_TYPE ( callno IN NUMBER, arg_no IN NUMBER, deferred_tran_id IN VARCHAR2) RETURN NUMBER;
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
Return Value | Corresponding Datatype |
---|---|
1 |
VARCHAR2 |
2 |
NUMBER |
11 |
ROWID |
12 |
DATE |
23 |
RAW |
96 |
CHAR |
112 |
CLOB |
113 |
BLOB |
This procedure returns the text version of the various arguments for the specified call. The text version is limited to the first 2000 bytes.
DBMS_DEFER_QUERY.GET_CALL_ARGS ( callno IN NUMBER, startarg IN NUMBER := 1, argcnt IN NUMBER, argsize IN NUMBER, tran_id IN VARCHAR2, date_fmt IN VARCHAR2, types OUT TYPE_ARY, forms OUT TYPE_ARY, vals OUT VAL_ARY);
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
This function determines the value of an argument in a deferred call.
Depending upon the type of the argument value that you want to retrieve, the syntax for the appropriate function is as follows. Each of these functions returns the value of the specified argument.
DBMS_DEFER_QUERY.GET_datatype_ARG ( callno IN NUMBER, arg_no IN NUMBER, deferred_tran_id IN VARCHAR2 DEFAULT NULL) RETURN datatype;
where datatype:
{ NUMBER | VARCHAR2 | CHAR | DATE | RAW | ROWID | BLOB | CLOB | NCLOB | NCHAR | NVARCHAR2 }
Exception | Description |
---|---|
NO_DATA_FOUND |
Input parameters do not correspond to a parameter of a deferred call. |
ORA-26564 |
Argument in this position is not of the specified type. |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|