Re: Views...

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: Christian Marschalek <cm(at)chello(dot)at>
Cc: "[GENERAL] PostgreSQL" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Views...
Date: 2001-03-25 03:27:50
Message-ID: Pine.LNX.4.30.0103242223550.26942-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 25 Mar 2001, Christian Marschalek wrote:

> I can't find the desciption of "views" in the PostgreSQL docs.
> Could somebody please point me out or explain database views to me?

http://www.postgresql.org/users-lounge/docs/7.0/user/sql-createview.htm

This is a good start to see how they are used in PostgreSQL.

Briefly, a view is a 'virtual' table -- you create a view with a select
statement that can relate data between different tables or use a subset of
data from a specific table. You can think of them as a 'saved query'.
Once you create a view, you can then query them just like a normal table.
You cannot, as of yet, update views in PostgreSQL, they are read only.

-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
As the poet said, "Only God can make a tree" -- probably because it's
so hard to figure out how to get the bark on.
-- Woody Allen

In response to

  • Views... at 2001-03-25 02:49:30 from Christian Marschalek

Responses

Browse pgsql-general by date

  From Date Subject
Next Message will trillich 2001-03-25 07:55:54 currval -- per session -- UNDERSTOOD!
Previous Message Christian Marschalek 2001-03-25 02:49:30 Views...