Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.37 KB

File metadata and controls

46 lines (35 loc) · 1.37 KB
title setMaxFieldSize Method (SQLServerStatement) | 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
SQLServerStatement.setMaxFieldSize
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 38f7fc1d-acad-4d10-9fc8-3c0669d93b07
author David-Engel
ms.author v-daenge

setMaxFieldSize Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

Sets the limit for the maximum number of bytes in a SQLServerResultSet column storing character or binary values to the given number of bytes.

Syntax

  
public final void setMaxFieldSize(int max)  

Parameters

max

An int that indicates the maximum number of bytes.

Exceptions

SQLServerException

Remarks

This setMaxFieldSize method is specified by the setMaxFieldSize method in the java.sql.Statement interface.

See Also

SQLServerStatement Members
SQLServerStatement Class