![]()  | 
 
  
  | 
||||
![]() ![]() ![]() ![]() ![]() ![]() ![]()  | 
    |||||
| 
 | 
||||||
| Other Library Functions | ||||||
| function | 
OCI_oparse | 
| 
Library: Oracle Call Interface database support (OMOCI)
 Include: omoci.xin  | 
Return type: Integer Returns: OCI_SUCCESS if the function completes without error.  | 
  define external integer function OCI_oparse
     (  value OCI_Handle_type cursor,
        value stream sqlstm,
        value integer sqllen,
        value integer defflg,
        value integer 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
     )