QUOTE (burleson @ Apr 25 2012, 12:38 PM)

>> "is it safe to select a columns using ROWID in a table?"
Safe? Define safe?
ROWID's can change, but you can use them in queries in some cases.
Sir ,
Actually i wanted to select last 100 rows from a table.
desc t1
name varchar2(50)
address varchar2(50)
if this table table contained inter values then i cluld do it , but since it contains varchar datatype i did like following :
1.select rowid,name,address from t1;
<i got all row ids along with their name and address>
<then i found that 100th rowid starts from botton(last) of that table
suppose that 100th rowid from last is "asdfgha"
<and also i found last rowid of that table>
suppose that last rowid is "asdfghz"
<then i fired>
select rowid,name,address from t1 where rowid between 'asdfgha' and 'asdfghz' ;
----------------------------------------------------------------------------------------------------
But i think this not a good way to query like this ......
what if have crores of values in a table
..........