|        | |||||
|  | |||||
| function | OCI_oparse | ||||
| Other Library Functions | 
| Library: OCI Include: omoci.xin | Returns: Numeric Returns OCI_SUCCESS if the function completes without error. | 
  define external counter function OCI_oparse
     (  value OCI_Handle_type cursor,
        value stream sqlstm,
        value counter sqllen,
        value counter defflg,
        value counter lngflg
     )
This function parses an SQL statement or a PL/SQL block and associates it with a cursor. The parse can, optionally, be deferred.
Input arguments:
Example:
  set RetCode to OCI_oparse
     (  Cursor,
        "insert into Midi values ( 4, :Midi )",
        OCI_NTS,
        OCI_NODEFERRED,
        OCI_ORACLE_V7
     )
| ---- |