Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using ROWID in the WHERE clause of a SELECT statement

58103Mar 24 2006 — edited Mar 24 2006
hi all,

my team is trying to select a value from a table using the rowid as the selection criterion

e.g. select column_name from table_name where rowid > 'AAA112BBBCCC12A'

this query does not appear to return accurate results e.g. it return rows instead of two. my questions are:

1. is this a legitimate approach?
2. should we convert the row id to varchar2? if so how should this be done?

thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2006
Added on Mar 24 2006
3 comments
8,306 views