![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | OCI_odescr | ||||
| Other Library Functions |
|
Library: OCI
Include: omoci.xin |
Returns: Numeric
Returns OCI_SUCCESS if the function completes without error. |
define external counter function OCI_odescr
( value OCI_Handle_type cursor,
value counter pos,
modifiable counter dbsize,
modifiable counter dbtype,
modifiable stream cbuf,
modifiable counter cbufl,
modifiable counter dsize,
modifiable counter prec,
modifiable counter scale,
modifiable counter nullok
)
This function describes select-list items for SQL queries. The function returns internal datatype and size information for a specified select-list item.
Input aruguments:
Output arguments:
Input/output argument:
Example:
set RetCode to OCI_odescr
( Cursor,
1,
Desc@1,
Desc@2,
ColName,
ColNameLen,
Desc@3,
Desc@4,
Desc@5,
Desc@6
)
| ---- |