Declaration define external integer function OCI_obndrn
( value OCI_Handle_type cursor,
value integer sqlvn,
value OCI_Array_type progv,
value integer progvl,
value integer ftype,
value OCI_Array_type indp
)
Purpose
This function associates an OMX component with a numbered placeholder in an SQL statement.
Input arguments:
- cursor -- Cursor data area descriptor.
- sqlvn -- The value of the numbered placeholder in the SQL statement.
- progv -- Variable used to retrieve and receive data.
- progvl -- Size of a single element in progv.
- ftype -- The external datatype of the program variable. The following values are allowed:
- SQLT_CHR -- (ORANET TYPE) character string
- SQLT_NUM -- (ORANET TYPE) oracle numeric
- SQLT_INT -- (ORANET TYPE) integer
- SQLT_FLT -- (ORANET TYPE) floating point number
- SQLT_STR -- zero terminated string
- SQLT_VNU -- NUM with preceding length byte
- SQLT_PDN -- (ORANET TYPE) packed decimal numeric
- SQLT_LNG -- long
- SQLT_VCS -- variable character string
- SQLT_NON -- null/empty PCC descriptor entry
- SQLT_RID -- rowid
- SQLT_DAT -- date in oracle format
- SQLT_VBI -- binary in VCS format
- SQLT_BIN -- binary data (DTYBIN)
- SQLT_LBI -- long binary
- SQLT_UIN -- unsigned integer
- SQLT_SLS -- display sign leading separate
- SQLT_LVC -- longer longs (char)
- SQLT_LVB -- longer long binary
- SQLT_AFC -- ANSI fixed character
- SQLT_AVC -- ANSI variable character
- SQLT_CUR -- cursor type
- SQLT_LAB -- label type
- SQLT_OSL -- oslabel type
- indp -- An array of indicator variables or OCI_NULL_ARRAY if not required.
Example:
set RetCode to OCI_obndrn
( Cursor,
1,
id,
4,
SQLT_INT,
OCI_NULL_ARRAY
)
OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:36 pm
If you have any comments about this section of the documentation, send email to [email protected]
Copyright © Stilo Corporation, 1988-2005.