|
-
Using rownum in the where condition.
Hi All,
I am experiencing a strange thing, please let me know if this is normal.
I am using oracle 8.1.7.4 and solaris 2.8.
I am using this query.
select * from (select * from cemp order by cstatus) where rownum < 10;
Will the above query give the same records every time i execute the query. Will rownum give the first 9 records. If no ..why?
what do i do to get the first 9 records.
regards
anandkl
anandkl
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|