JSON Data Type | Rules | Teradata Vantage - Rules for JSON Data - Advanced SQL Engine - Teradata Database

JSON Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
uwa1591040057999.ditamap
dita:ditavalPath
uwa1591040057999.ditaval
dita:id
B035-1150
lifecycle
previous
Product Category
Teradata Vantageā„¢
  • JSON allows Unicode characters to be embedded in their hexadecimal formats in a character string using the '\u' string as an escape sequence. This is allowed within the JSON type, but the '\u' hex Unicode character is not interpreted; it is merely stored as is.
  • White space outside the root of the JSON object or array is trimmed for all instances of the JSON type. White space characters within the root of the JSON object or array are considered significant and are not removed.
  • There is a maximum limit of nesting imposed on a JSON instance. The default is 512. The limit is configurable up to a maximum of 32000 using the JSON_MaxDepth DBS Control Field.
    A nested object or array counts against this limit.
    For details about the JSON_MaxDepth field and DBS Control, see Teradata Vantageā„¢ - Database Utilities, B035-1102.
  • You can specify exponential numbers using scientific notation. The range of valid numbers is between -1e308 and 1e308, noninclusive. Exponents can have a value between -308 and 308, noninclusive. Any number or exponent specified outside of the valid range, whether explicitly stated or understood to be outside of that range based on the value of the mantissa, will result in an error.