[EMAIL PROTECTED] & folks,

also, don't forget something along these lines:

squeal> whenever sqlerror exit sql.code ;
squeal> LOCK TABLE x in exclusive mode nowait ; /* piss off users */
squeal> whenever sqlerror continue ;


> ORACLE-L Digest -- Volume 2001, Number 332
> ------------------------------------------
> >> From: [EMAIL PROTECTED]
> >> Date: Tue, 27 Nov 2001 12:45:39 +0100
> >> Subject: Inserstatement
...

 | update 
 |        x
 |    set 
 |        field =
 |      ( 
 |        select 
 |               field1
 |          from 
 |               p
 |         where 
 |               p.join_field = x.join_field
 |      )
 | where 
 |       x.join_field in
 |     ( 
 |       select 
 |              p.join_field
 |         from 
 |              p
 |     )

...

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Eric D. Pierce
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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