Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.66 KB

File metadata and controls

33 lines (26 loc) · 1.66 KB
title getBytes Method (SQLServerCallableStatement)
description getBytes Method (SQLServerCallableStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerCallableStatement.getBytes
apitype Assembly

getBytes Method (SQLServerCallableStatement)

[!INCLUDEDriver_JDBC_Download]

Retrieves the value of the designated parameter as an array of bytes.

Overload List

Name Description
getBytes (int) Retrieves the value of the designated parameter as an array of bytes value given the parameter index.
getBytes (java.lang.String) Retrieves the value of the designated parameter as an array of bytes value given the parameter name.

Remarks

In a previous version of the [!INCLUDEjdbcNoVersion], you could use SQLServerCallableStatement.getBytes to convert values between byte arrays and [!INCLUDEssNoVersion] data type date, time, datetime2, or datetimeoffset. Now, using this method with those data types will cause an exception indicating that the conversion is not supported.

See Also

SQLServerCallableStatement Members
SQLServerCallableStatement Class