Re: result from where clause

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Kjetil Haaland <kjetil(dot)haaland(at)student(dot)uib(dot)no>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: result from where clause
Date: 2004-11-05 17:35:00
Message-ID: 20041105173500.GA8855@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, Nov 05, 2004 at 15:01:44 +0100,
Kjetil Haaland <kjetil(dot)haaland(at)student(dot)uib(dot)no> wrote:
> I have a function that returns an integer value. Then i do a select from a
> table and uses this function in the where part of the select. Is it possible
> to get a row with the value from the function when i do the select from the
> table?

Unless you are doing something complicated, you should be able to just
add the function call to the select list.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Felix.Onyango 2004-11-05 19:57:31 Pgsql install
Previous Message John-Paul Delaney 2004-11-05 15:41:41 Re: Install 7.4.6 on Redhat 8.0 - Any issues?