By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

Re: rownum HELP ....

P: n/a
Darta wrote:

I haven't read the question in detail, so this may be way off base, but
have you considered using rowid instead of rownum? rownum is a
psuedo-column that's a bit "slippery", i.e. it's value changes depending
on the where clause, so putting it in the where clause can cause
unexpected behavior. Rowid doesn't have this problem; it is what it is
independent of what you do with the where clause.

I generally avoid using rownum in the where clause, except for trivial
uses like 'WHERE rownum < n'.

--
//-Walt
//
//
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.