Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the maximum column size limit.
Syntax
public void setMaxFieldSize(int max)
Run On
Called
Parameters
- max
Type: int
The new max column size limit; 0 means unlimited.
Remarks
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.