Re: My brain hurts - update field based on value of another table's field - Mailing list pgsql-general

From missive@frontiernet.net (Lee Harr)
Subject Re: My brain hurts - update field based on value of another table's field
Date
Msg-id 9oojk1$sr0$1@news.tht.net
Whole thread Raw
In response to Re: My brain hurts - update field based on value of another table's field  (missive@frontiernet.net (Lee Harr))
List pgsql-general
On Mon, 24 Sep 2001 11:22:40 -0700, Pat M <pmeloy@removethispart.home.com>:
> Woohoo! I got it. VIEWS! I can pre-do a pile of the work in a view and cut
> down on my scripting complexity a LOT. Instead of duplicating data all the
> time, create a view that includes all the parent record fields that I'd
> usually have to join manually in a script.
>

Sounds good. I use views like this also (to reduce complexity).

I used to always want to "do it all in one query."

That gets out of hand pretty quickly, but if you can encapsulate
different sections of the query in views...



pgsql-general by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [COMMITTERS] PostgreSQL on MAINFRAME
Next
From: rjtalbo
Date:
Subject: Re: Make failure on v. 7.1.2