Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.42 KB

File metadata and controls

40 lines (30 loc) · 1.42 KB
title getMaxFieldSize Method (SQLServerStatement)
description getMaxFieldSize Method (SQLServerStatement)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerStatement.getMaxFieldSize
apitype Assembly

getMaxFieldSize Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

Retrieves the maximum number of bytes that can be returned for character and binary column values in a SQLServerResultSet object that is produced by this SQLServerStatement object.

Syntax

  
public final int getMaxFieldSize()  

Return Value

An int that indicates the maximum number of bytes that a column can contain, or 0 if there is no limit.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerStatement Methods
SQLServerStatement Class