Database Abstraction Layer for PHP

User Tools

Site Tools


Maximum String Lengths

From: ADOdb V5.21.0

The methods charMax() and textMax() return the maximum length of strings that can be inserted into metaType C and X fields. The following constants are defined to assist in their use:

Constant Value Description
ADODB_STRINGMAX_NOTSET -1 The maximum length that can be inserted has not yet been determined or is not supported
ADODB_STRINGMAX_NOLIMIT -2 The DBMS places no limit on the size of data that can be inserted. This does not mean that the size is infinite, as there may be limits associated with hardware or operating system
v5/userguide/adodb_stringmax.txt · Last modified: 2016/02/28 17:24 by mnewnham