Difference between revisions of "Data Truncation Error"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 3: Line 3:
::* The default maximum size is 32 characters.  
::* The default maximum size is 32 characters.  
::* If all values are selected, the number of characters required for N labels is the sum of the sizes of all N labels plus N-1 commas.  
::* If all values are selected, the number of characters required for N labels is the sum of the sizes of all N labels plus N-1 commas.  
::* That number can be reduced only if there are combinations of values are never selected.
::* That number can be reduced only if there are combinations of values that are never selected.
:* Even in a single-selection [[Picklist]] or [[Global Picklist]], a value available for selection might be longer than the maximum storage size for the field.
:* Even in a single-selection [[Picklist]] or [[Global Picklist]], a value available for selection might be longer than the maximum storage size for the field.
:* The combination of all fields defined in the record could be larger than the maximum size of a MySQL row (65,535 bytes).
:* The combination of all fields defined in the record could be larger than the maximum size of a MySQL row (65,535 bytes).

Revision as of 22:39, 2 April 2014

A data truncation error occurs when incoming data is too large to be stored. The error can occur for a number of reasons:

  • The default maximum size is 32 characters.
  • If all values are selected, the number of characters required for N labels is the sum of the sizes of all N labels plus N-1 commas.
  • That number can be reduced only if there are combinations of values that are never selected.
  • Even in a single-selection Picklist or Global Picklist, a value available for selection might be longer than the maximum storage size for the field.
  • The combination of all fields defined in the record could be larger than the maximum size of a MySQL row (65,535 bytes).