10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

List Attributes<br />

Table 6–15 Attributes Belonging to Arguments / Results (Cont.)<br />

ATTR_TYPE_NAME Returns a string that is the type name, or<br />

the package name in the case of package<br />

local types. The returned value contains the<br />

type name if the datatype is SQLT_NTY or<br />

SQLT_REF. If the datatype is SQLT_NTY,<br />

then the name of the named datatype’s type<br />

is returned. If the datatype is SQLT_REF,<br />

then the type name of the named datatype<br />

pointed to by the REF is returned.<br />

ATTR_SCHEMA_NAME For SQLT_NTY or SQLT_REF, returns a<br />

string with the schema name under which<br />

the type was created, or under which the<br />

package was created in the case of package<br />

local types<br />

ATTR_SUB_NAME For SQLT_NTY or SQLT_REF, returns a<br />

string with the type name, in the case of<br />

package local types<br />

ATTR_LINK For SQLT_NTY or SQLT_REF, returns a<br />

string with the database link name of the<br />

database on which the type exists. This can<br />

happen only in the case of package local<br />

types, when the package is remote.<br />

ATTR_REF_TDO Returns the REF of the TDO for the type, if<br />

the argument type is an object<br />

ATTR_CHARSET_ID Returns the character set ID if the argument<br />

is of a string or character type<br />

ATTR_CHARSET_FORM Returns the character set form if the<br />

argument is of a string or character type<br />

string<br />

string<br />

string<br />

string<br />

RefAny<br />

Attribute Reference<br />

Attribute Description Attribute Datatype<br />

A list type of attribute can be described for all the elements in the list. In case of a<br />

function argument list, position 0 has a parameter for return values (PTYPE_ARG).<br />

The list is described iteratively for all the elements. The results are stored in a <strong>C++</strong><br />

vector. <strong>Call</strong> the getVector method to describe list type of<br />

attributes. Table 6–16 displays the list attributes.<br />

Table 6–16 Values for ATTR_LIST_TYPE<br />

Possible Values Description<br />

ATTR_LIST_COLUMNS Column list<br />

ATTR_LIST_ARGUMENTS Procedure or function arguments list<br />

int<br />

int<br />

Metadata 6-23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!