Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> QUERY

QUERY

From: Seema Singh <oracledbam_at_hotmail.com>
Date: Tue, 27 Apr 2004 21:44:30 -0400
Message-ID: <BAY10-F6qiLwg0BhJfT00015947@hotmail.com>


Hi

Any advice are welcome.
update main_test a
set a.directions =(select b.access1 from trail_main b where b.trail_name = a.trail_name

     and b.trail_code = a.trail_code)
This is updating 6595 rows.

update main_test a
set a.directions = (select access1 from trail_main b

                     where a.trail_name = b.trail_name
                       and a.trail_code = b.trail_code )
where a.trail_id = ANY (select a.trail_id from
                                vw_trail_main_test a, trail_main b
                         where a.trail_name = b.trail_name and a.trail_code 
= b.trail_code )
This is updating 2599 rows updated.
When I select
select b.access1 from trail_main b
where b.trail_name = a.trail_name

     and b.trail_code = a.trail_code
It returns 2599 rows.

Wondering what is wrong?
thx



FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Tue Apr 27 2004 - 20:41:29 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US