contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   OCI_obindps    
      Other Library Functions  

Library: OCI
Include: omoci.xin
Returns: Numeric

Returns OCI_SUCCESS if the function completes without error.

Declaration

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


Purpose

This function is used to associate an opaque variable 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
   OCI_GetArrayAsCounter
   OCI_GetArrayAsCounterShelf
   OCI_GetArrayAsStream
   OCI_GetArrayAsStreamShelf
   OCI_GetArrayAsString
   OCI_GetArrayElementCount
   OCI_GetArrayElementLen
   OCI_GetErrorCode
   OCI_LibraryVersion
   OCI_obindps
   OCI_obndra
   OCI_obndrn
   OCI_obndrv
   OCI_ocan
   OCI_oclose
   OCI_ocof
   OCI_ocom
   OCI_ocon
   OCI_odefin
   OCI_odefinps
   OCI_odescr
   OCI_odessp
   OCI_oerhms
   OCI_oexec
   OCI_oexfet
   OCI_oexn
   OCI_ofen
   OCI_ofetch
   OCI_oflng
   OCI_ogetpi
   OCI_olog
   OCI_ologof
   OCI_onbclr
   OCI_onbset
   OCI_onbtst
   OCI_oopen
   OCI_oopt
   OCI_oparse
   OCI_orol
   OCI_osetpi
   OCI_SetArrayAsCounter
   OCI_SetArrayAsCounterShelf
   OCI_SetArrayAsStream
   OCI_SetArrayAsStreamShelf
   OCI_SetArrayAsString
   OCI_SetArraySize
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:12 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.