Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1015 Bytes

File metadata and controls

42 lines (31 loc) · 1015 Bytes
title truncate Method (SQLServerBlob)
description truncate Method (SQLServerBlob)
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.truncate
apitype Assembly

truncate Method (SQLServerBlob)

[!INCLUDEDriver_JDBC_Download]

Truncates a BLOB, given the length.

Syntax

  
public void truncate(long len)  

Parameters

len

The new length for the BLOB.

Exceptions

java.sql.SQLException

Remarks

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

See Also

SQLServerBlob Methods
SQLServerBlob Members
SQLServerBlob Class