Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.45 KB

File metadata and controls

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

position Method (byte, long)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public long position(byte[] bPattern,  
                     long start)  

Parameters

bPattern

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