swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
    Other Library Functions  
function  

OCI_obindps

 
 

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

Returns: Returns OCI_SUCCESS if the function completes without error.


Declaration

define external integer function OCI_obindps
   (  read-only OCI_Handle_type cursor,
      value integer opcode,
      value string sqlvar,
      value integer sqlvl,
      read-only OCI_Array_type pvctx,
      value integer progvl,
      value integer ftype,
      read-only OCI_Array_type indp,
      read-only OCI_Array_type alen,
      read-only OCI_Array_type arcode,
      value integer pv_skip,
      value integer ind_skip,
      value integer alen_skip,
      value integer rc_skip,
      value integer maxsiz,
      modifiable integer cursiz
   )


Purpose

This function is used to associate an OMX component with a placeholder in an SQL or PL/SQL statement. Unlike older OCI bind calls, this function can be used to bind placeholders that are to be used in piecewise operations or in operations involving arrays.

Input arguments:

Output argument:

Example:

  set RetCode to OCI_obindps
     (  Cursor,
        OCI_PIECEWISE,
        ":Midi",
        OCI_NTS,
        OCI_NULL_ARRAY,
        40000,
        SQLT_LBI,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        OCI_NULL_ARRAY,
        0,
        0,
        0,
        0,
        OCI_NOPLSQL,
        DummyCtr
     )

      Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.