Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_HS_PASSTHROUGH, 12 of 15


GET_VALUE Procedure

This procedure has two purposes:

Syntax

DBMS_HS_PASSTHROUGH.GET_VALUE (
   c      IN  BINARY_INTEGER NOT NULL,
   pos    IN  BINARY_INTEGER NOT NULL,
   val    OUT <dty>);

Where <dty> is either DATE, NUMBER, or VARCHAR2

See Also:

For retrieving values of datatype RAW, see GET_VALUE_RAW Procedure

Parameters

Table 17-22 GET_VALUE Procedure Parameters
Parameter  Description 
c
 

Cursor associated with the pass-through SQL statement. Cursor must be opened and parsed, using the routines OPEN_CURSOR and PARSE respectively.  

pos
 

Position of the bind variable or select list item in the SQL statement: Starts at 1.  

val
 

Variable in which the OUT bind variable or select list item stores its value.  

Exceptions

Table 17-23 GET_VALUE Procedure Exceptions
Exception  Description 
ORA-1403
 

Returns NO_DATA_FOUND exception when running the GET_VALUE after the last row was fetched (i.e., FETCH_ROW returned "0").  

ORA-28550
 

The cursor passed is invalid. 

ORA-28552
 

Procedure is not run in right order. (Did you first open the cursor and parse the SQL statement?) 

ORA-28553
 

The position of the bind variable is out of range. 

ORA-28555
 

A NULL value was passed for a NOT NULL parameter. 

Pragmas

Purity level defined : WNDS 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback