| 
function
 
 | 
OCI_obndrv
 
 | 
  Available in:
   Sold separately
 | 
Declaration   define external integer function OCI_obndrv
     (  value OCI_Handle_type cursor,
        value stream sqlvar,
        value integer sqlvl,
        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 named placeholder in an SQL statement.
Input arguments:
- cursor -- Cursor data area descriptor.
 - sqlvar -- The name of the SQL placeholder, including the leading colon.
 - sqlvl -- The length of the contents of sqlvar, or OCI_NTS.
 - 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_obndrv
     (  Cursor,
        ":Sal",
        OCI_NTS,
        Sal,
        15,
        SQLT_STR,
        OCI_NULL_ARRAY
     )
OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:33 pm
If you have any comments about this section of the documentation, send email to [email protected]
 Copyright © OmniMark Technologies Corporation, 1988-2002.