Returns the position of a specified pattern in the BLOB based on the given pattern and starting index.

语法

public long position(java.sql.Blob pattern,
                     long start)

参数

pattern

The pattern to search for.

start

The start index to search at.

返回值

A long value of the position where the pattern was found, or -1 if it was not found.

异常

SQLServerException

备注

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

另请参见

SQLServerBlob Class
position Method (SQLServerBlob)
SQLServerBlob Methods
SQLServerBlob Members