Archives of the TeradataForum
Message Posted: Fri, 31 Jan 2003 @ 11:47:04 GMT
Subj: | | Re: VARBYTE - Length |
|
From: | | David Wellman |
I assume that you're talking about the actual length? If you use the CHARS function, this works against BYTE/VARBYTE columns as well as
CHAR/VARCHAR ones.
As you've already got the data exported, you can also look at the two bytes immediately preceding the BYTE data in the exported record
(use SELCOPY or FILEAID or something similar). These two bytes give you the length of the data in the following field (I don't think the
length includes the 2-byte filed-length).
Dave
|