Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.5 KB

File metadata and controls

44 lines (34 loc) · 1.5 KB
title getMaxFieldSize 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.getMaxFieldSize
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid ed7bbcb8-660b-4e9b-8241-e216c42826f9
author David-Engel
ms.author v-daenge

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