Statement.setMaxFieldSize Method [AX 2012]

Sets the maximum column size limit.

public void setMaxFieldSize(int max)

Run On

Called

Parameters

max
Type: int
The new max column size limit; 0 means unlimited.

The maxFieldSize limit (in bytes) is set to limit the size of data that can be returned for any column value; it only applies to binary, varbinary, longvarbinary, char, varchar, and longvarchar fields. If the limit is exceeded, the excess data is silently discarded. For maximum portability, use values greater than 256.

Community Additions

ADD
Show: