JSON Data Type (Text-Based Format) - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549
The text-based format is the default storage format for JSON data. Other storage formats for JSON data include binary and universal binary formats, as described in the following pages.

JSON data can be stored inline (inside a row) or outside the row in a LOB subtable or both, depending on the syntax used to specify it:

Syntax Default Inline Storage Maximum Length LOB/Non-LOB
JSON 4,046 bytes 16,776,192 bytes LOB
JSON(n) CHARACTER SET LATIN, where n <= 64,000 n characters ncharacters Non-LOB
JSON(n) CHARACTER SET LATIN, where n > 64,000 4,096 bytes ncharacters LOB
JSON(n) CHARACTER SET LATIN INLINE LENGTH m m characters ncharacters

If n <= m, Non-LOB

Otherwise, LOB

JSON(n) CHARACTER SET UNICODE, where n <= 32,000 n characters n characters Non-LOB
JSON(n) CHARACTER SET UNICODE, where n > 32,000 4,096 bytes n characters LOB
JSON(n) CHARACTER SET UNICODE INLINE LENGTH m m characters ncharacters

If n <= m, Non-LOB

Otherwise, LOB

If there is no column length specified, the default length is the maximum.

For more information, see JSON Data Type .