Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

MatchPos Method

Applies To

OBlob

OClob

OBfile

Description

Returns the position of the nth occurrence of the pattern starting at the offset.

Usage

unsigned long MatchPos(const char *pattern, unsigned long bufsize, unsigned long offset, unsigned long nth) const throw(
OException)

Arguments

pattern
A string for Clob or byte array for Blob or Bfile that is searched for in the LOB.
bufsize
Size of user-allocated buffer.
offset
The starting position in the LOB or BFILE for the search.
nth
The occurrence number.
Remarks

This call is currently implemented by executing a PL/SQL block that utilizes DBMS_LOB.INSTR()


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents