共用方式為


position Method (java.sql.Clob, long)

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

public long position(java.sql.Clob searchstr,
                     long start)

參數

searchstr

The substring to search for.

start

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

傳回值

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

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerClob Class

概念

position Method (SQLServerClob)
SQLServerClob Methods
SQLServerClob Members