Skip Headers

Oracle9i Supplied PL/SQL Packages and Types Reference
Release 2 (9.2)

Part Number A96612-01
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 next page

104
ANYDATASET TYPE

An ANYDATASET type contains a description of a given type plus a set of data instances of that type. An ANYDATASET can be persistently stored in the database if desired, or it can be used as interface parameters to communicate self-descriptive sets of data, all of which belong to a certain type.

This chapter discusses the following topics:

Construction

The AnyDataSet needs to be constructed value by value, sequentially.

For each data instance (of the type of the AnyDataSet), the AddInstance() function must be invoked. This adds a new data instance to the AnyDataSet. Subsequently, Set*() can be called to set each value in its entirety.

The MODE of construction/access can be changed to attribute/collection element wise by making calls to PieceWise().

Note that there is no support for piece-wise construction and access of nested (not top level) attributes that are of object types or collection types.

EndCreate() should be called to finish the construction process (before which no access calls can be made).


Go to previous page Go to next page
Oracle
Copyright © 2000, 2002 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