multi row update in one SQL statment
From: Rima <parikhrima_at_yahoo.com>
Date: 25 Jul 2003 13:22:21 -0700
Message-ID: <8a126d63.0307251222.2b11147e_at_posting.google.com>
Date: 25 Jul 2003 13:22:21 -0700
Message-ID: <8a126d63.0307251222.2b11147e_at_posting.google.com>
- since B can have multiple rows per commit_id I want to pick the one with the latest txn_time and
- only update in A if the chg_lst_date of a is less than that of B.
Can I do this in one update statement? or do I have to do a cursor/loop ?
I originally posted this in oracle.misc but then realized it might be a non-technical forum - hence this repeat post. Received on Fri Jul 25 2003 - 22:22:21 CEST