|
Archives of the TeradataForumMessage Posted: Thu, 14 Aug 2003 @ 08:42:52 GMT
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
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||