Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 14 Aug 2003 @ 08:42:52 GMT


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


Subj:   Re: Bytes data is not displaying
 
From:   Dave Wellman

Hi Raj,

Firstly, I beg to differ but ROWID is a BYTE(8). Check the manuals - Teradata database design probably - and look for informatin on Teradata row formats. The rowid for each database row is 8 bytes long (made up of the rowhash - 4 bytes - and the uniqueness number which is also 4 bytes).

So, your program has to define 8 bytes of storage to return the rowid value into.

Depending on your programming language then how you define this storage will be different. I tend to work with VB and so I'd use 8 * 1 byte fields (VB's BYTE data type) and convert each number to a 2-digit hex representation (which I'm guessing is what Queryman does.


Cheers,

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: 27 Dec 2016