====== Maximum String Lengths ===== ~~NOTOC~~ ==From: ADOdb V5.21.0== The methods [[v5:reference:connection:charmax|charMax()]] and [[v5:reference:connection:textmax|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 |