Freigeben über


position Method (java.lang.String, long) (SQLServerNClob)

Retrieves the character position at which the specified substring searchstr appears in the NCLOB value represented by this NClob object.

Hinweis

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

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

Parameter

searchstr

The substring for which to search.

start

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

Rückgabewert

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

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Referenz

SQLServerNClob Class

Konzepte

position Method (SQLServerNClob)
SQLServerNClob Methods
SQLServerNClob Members