Condividi tramite


position Method (java.sql.NClob, long)

Retrieves the character position at which the specified NClob object searchstr appears in this NClob object.

Nota

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

long position(java.sql.NClob searchstr,
              long start)

Parametri

searchstr

A NClob object for which to search.

start

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

Valore restituito

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

Eccezioni

SQLServerException

Osservazioni

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

Vedere anche

Riferimento

SQLServerNClob Class

Concetti

position Method (SQLServerNClob)
SQLServerNClob Methods
SQLServerNClob Members