OCI_obndrv

function

Library: Oracle Call Interface database support (OMOCI legacy)
Include: omoci.xin

Returns: Returns OCI_SUCCESS if the function completes without error.


Declaration
define external integer function OCI_obndrv
   (  value OCI_Handle_type cursor,
      value string 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:

Example:

  set RetCode to OCI_obndrv
     (  Cursor,
        ":Sal",
        OCI_NTS,
        Sal, 
        15,
        SQLT_STR,
        OCI_NULL_ARRAY
     )