Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 31 Jan 2003 @ 11:47:04 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


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



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023