VARBYTE Data Type | Data Types and Literals | Teradata Vantage - VARBYTE Data Type - Teradata Vantage - Analytics Database

SQL Data Types and Literals

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-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantageā„¢

Represents a variable-length binary string.

ANSI Compliance

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

Syntax

VARBYTE ( n ) [ attributes [...] ]

Syntax Elements

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