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

Home -> Community -> Usenet -> c.d.o.misc -> Re: "SET" operator in VIEW definition...

Re: "SET" operator in VIEW definition...

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 21 Nov 2001 21:22:42 +0100
Message-ID: <tvo438id16k5eb@corp.supernews.com>

"Jay Harding" <jhardin_at_vestek.com> wrote in message news:a8ee054f.0111211149.661dc1ce_at_posting.google.com...
> In the "Application Developer's Guide -- Fundamentals"
> (Oracle 8i) on page 2-19 it says something like:
>
> >> 1. If a view is defined by a query that contains SET or
> >> DISTINCT operators, a GROUP BY clause, or a group function,
> >> then rows cannot be inserted into, updated in, or deleted
> >> from the base tables using the view.
>
> This makes sense to me, except for the part about the "SET"
> operator. Since a view is defined something like the following:
> CREATE OR REPLACE VIEW some_name
> AS
> SUBSELECT
> I'm wondering how the "SET" operator enters into this. The
> bit about trying to insert into a subselect with DISTINCT or
> GROUP BY couldn't possibly work. But "SET" operator -- I don't
> know what the documentation means here.
>
> Any suggestions would be greatly appreciated. Thank you for
> any time spent reading/responding to this....

SET operators are
UNION
INTERSECT
MINUS Hth

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Wed Nov 21 2001 - 14:22:42 CST

Original text of this message

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