Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.25 KB

File metadata and controls

41 lines (30 loc) · 1.25 KB
title setMaxFieldSize Method (SQLServerStatement)
description setMaxFieldSize Method (SQLServerStatement)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerStatement.setMaxFieldSize
apitype Assembly

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