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 -> Re: question on delete statement

Re: question on delete statement

From: andrewst <member14183_at_dbforums.com>
Date: Fri, 20 Jun 2003 16:05:45 +0000
Message-ID: <3025975.1056125145@dbforums.com>

Originally posted by Fabio
> How could I know if I'm deleting records from A table or B table
> or both ?
>

See "key preserved" explanation in my previous response.

Originally posted by Fabio
> Is there some syntax to specify the table I want delete records from?
>

Yes:

delete A
where A.f1 in (select B.f1 from B where ...) and ...

--
Posted via http://dbforums.com
Received on Fri Jun 20 2003 - 11:05:45 CDT

Original text of this message

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