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

Home -> Community -> Usenet -> c.d.o.server -> how does this delete work?

how does this delete work?

From: steph <stephan0h_at_yahoo.de>
Date: Mon, 09 Jul 2007 08:09:32 -0700
Message-ID: <1183993772.812881.230850@d55g2000hsg.googlegroups.com>


Hi,

Recently I came across this delete statement inside a package that I have to debug:

DELETE FROM
(

    SELECT 1
    FROM KUNDEN_SOLL ks, KUNDEN k
    WHERE ks.ksl_kun_id = k.kun_id
    ...
)

I must say the syntax is a little uncommon for me. What's the advantage of doing things that way instead of issuing a plain "delete from table where ..."?

thanks,
stephan Received on Mon Jul 09 2007 - 10:09:32 CDT

Original text of this message

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