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

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: MaryAnn Atkinson
  INET: [EMAIL PROTECTED]

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).

Reply via email to