JSON Data Type (Text-Based Format) - Teradata Vantage - Analytics Database

Database Design

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ogg1628096130566.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
zqc1472244571611
lifecycle
lifecycle
Product Category
Teradata Vantageā„¢
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 on the JSON data type, see Teradata Vantageā„¢ - JSON Data Type, B035-1150.