| 
||||||||||
| 
 | 
||||||||||
| Other Library Functions | ||||||||||
| function | OCI_oopt | 
  Available in:
   Sold separately  | 
| 
Library: omoci - Oracle Call Interface database support
 Include: omoci.xin  | 
Return type: Integer Returns: OCI_SUCCESS if the function completes without error.  | 
  define external integer function OCI_oopt
     (  value OCI_Handle_type cursor,
        value integer rbopt,
        value integer waitopt
     )
This function sets rollback options for non-fatal Oracle errors involving multi-row "insert" and "update sql" statements. It also sets wait options (for example, whether to wait for locks) in cases where requested resources are not available.
Input arguments:
Example:
set RetCode to OCI_oopt( Cursor, OCI_ROLLBACK_ROW, OCI_NOWAIT )
| ---- |