Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.44 KB

File metadata and controls

48 lines (34 loc) · 1.44 KB
title position Method (java.sql.NClob, long)
description position Method (java.sql.NClob, long)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

position Method (java.sql.NClob, long)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

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

Parameters

searchstr

A NClob object 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.NClob interface.

See Also

position Method (SQLServerNClob)
SQLServerNClob Methods
SQLServerNClob Members
SQLServerNClob Class