Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.12 KB

File metadata and controls

47 lines (36 loc) · 1.12 KB
title truncate Method (SQLServerBlob) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerBlob.truncate
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid ef181e04-003a-442a-9b7e-0c508a7cc873
author David-Engel
ms.author v-daenge

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