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

Home -> Community -> Usenet -> comp.databases.theory -> Re: On view updating

Re: On view updating

From: Alfredo Novoa <anovoa_at_ncs.es>
Date: Wed, 22 Sep 2004 01:49:18 +0200
Message-ID: <tnd1l01puuept0m58fj065ftg3vhv41pe5@4ax.com>


On Tue, 21 Sep 2004 13:05:03 -0700, Costin Cozianu <c_cozianu_at_hotmail.com> wrote:

>There's no such thing as "virtual variables" in PL theory.

In that case views are variables. Views and base relvars are interchangeable and indistinguishable. An user can't know if he is working with a table or a view.

BTW PL theory is not closed and we can introduce "virtual variables" and even weirder things.

>- views do not denote a "store".

Why not?

>as opposed to views, tables, which also have a name:
>
>- denote a "store". A place in the global state holding a value that can
>be changed.

If you consider closed views as views they also denote a "store" in the external level.

Do you consider closed views as tables?

>Therefore, here you have your trivial distinction in all imperative
>languages between a "store" (variable, possibly aliased or non-aliased)
>which is your lvalue, and an expression.

An aliased table is something very similar to a view. If we don't have table aliases we can do the same with views. I don't see a clear logical difference between a table alias and a view like: create view xxx as select * from myTable

If something looks like a variable, smells like a variable and behaves like a variable then it is a variable :)

Regards Received on Tue Sep 21 2004 - 18:49:18 CDT

Original text of this message

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