I am new to Tearadata and while playing with Queryman I noticed Teradata returns ROWIDs in a SELECT statement.
Example:
SELECT ROWID, UserId, AccountName from Accounts;
ROWID UserId AccountName
1317B97900000100 00000100 DBC
56123D3C00000100 0000F203 DBC
.
.
.
Anybody knows more about ROWIDs and how to use them in a query? Oracle lets us make queries on ROWIDs in WHERE clause. I wonder if it works similarly in Teradata.
BTW, anyone knows how I can use BYTE fields in queries?
Example:
SELECT * from Accounts WHERE UserId=00000100;
When I do this I get:
3640: Camparing BYTE data in column UserId with other types is illegal.
Anyone knows if I am allowed to do such a query or if there is a special syntax for it.
thanks in advance.
Example:
SELECT ROWID, UserId, AccountName from Accounts;
ROWID UserId AccountName
1317B97900000100 00000100 DBC
56123D3C00000100 0000F203 DBC
.
.
.
Anybody knows more about ROWIDs and how to use them in a query? Oracle lets us make queries on ROWIDs in WHERE clause. I wonder if it works similarly in Teradata.
BTW, anyone knows how I can use BYTE fields in queries?
Example:
SELECT * from Accounts WHERE UserId=00000100;
When I do this I get:
3640: Camparing BYTE data in column UserId with other types is illegal.
Anyone knows if I am allowed to do such a query or if there is a special syntax for it.
thanks in advance.