BYTE Data Type | Data Types and Literals | Teradata Vantage - 17.10 - BYTE Data Type - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

Represents a fixed-length binary string.

ANSI Compliance

BYTE is a Teradata extension to the ANSI SQL:2011 standard.

Syntax

BYTE [ ( n ) ] [ attributes [...] ]

Syntax Elements

n
The number of bytes in the string.
Maximum value: 64000
Default: 1
attributes
Appropriate data type, column storage, or column constraint attributes.
See Core Data Type Attributes and Storage and Constraint Attributes for specific information.