Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ROWNUM - Can the inner-outer idea be extended to an update?
Can the inner-outer idea be extended to an update?
UPDATE EMP2
SET GENDER = 'F'
WHERE GENDER = ' '
AND ROWNUM BETWEEN 10 AND 20;
That does NOT work, because as we explained the returned rows
are numbered starting from 1, and so rownum never really matches
a 10 or 20 or anything in between.
Thanks,
maa
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jul 09 2003 - 11:40:45 CDT
![]() |
![]() |