Returns the character position of the specified substring in the CLOB based on the given starting position.

public long position(java.lang.String searchstr,
                     long start)

Parameters

searchstr

The substring for which to search.

start

The position at which to begin searching; the first position is 1.

Return Value

The position at which the substring appears or -1 if it is not present; the first position is 1.

Exceptions

SQLServerException

Remarks

This position method is specified by the position method in the java.sql.Clob interface.

See Also