Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.52 KB

position-method-java-sql-blob-long.md

File metadata and controls

51 lines (37 loc) · 1.52 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
position Method (java.sql.Blob, long)
position Method (java.sql.Blob, long)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerBlob.position (java.sql.Blob.long)
Assembly

position Method (java.sql.Blob, long)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

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

Parameters

pattern

The pattern to search for.

start

The start index to search at.

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

position Method (SQLServerBlob)
SQLServerBlob Methods
SQLServerBlob Members
SQLServerBlob Class