Re: rownum HELP ....

From: Walt <walt_at_boatnerd.com.invalid>
Date: Wed, 30 Jul 2003 10:06:03 -0400
Message-ID: <3F27D0CB.B0D368CF_at_boatnerd.com.invalid>


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
//
//
Received on Wed Jul 30 2003 - 16:06:03 CEST

Original text of this message