LONGTEXT

Overview

String for variable-length text data.

USAGE

LONGTEXT
   [{CHARACTER SET | CHARSET} <charset_name>]
   [COLLATE <collation_name>]

DETAILS

SYNONYMS

The following are synonyms for LONGTEXT:

  • CLOB

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

LONGTEXT

Example of LONGTEXT:

CREATE TABLE longtext_example (
   description VARCHAR(20),
   example LONGTEXT CHARACTER SET latin1
) DEFAULT CHARSET=latin1;

Note that the size of a LONGTEXT data can be so large that it cannot be sent to the server without breaking the value up into chunks (something that the command-line client cannot do). For values larger than 16M you can increase the max_allowed_packet size up to a maximum of 1024M to increase the allowed size of non-chunked values.

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES