External Representation of VARBYTE
The following table lists the client representations for the Teradata SQL VARBYTE data type.
Define the length of the VARBYTE string as k, where 0 ≤ k ≤ n.
Client CPU Architecture | Client Internal Data Format |
---|---|
IBM mainframe | k + 2 bytes 16-bit SMALLINT (2 byte) length count k followed by k bytes of BYTE data. |
|
k + 2 bytes 16-bit SMALLINT (2 byte) length count k followed by k bytes of BYTE data. |