Re: How to make a IN without a table... ?

From: David Pradier <dpradier(at)apartia(dot)fr>
To: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>, pgsql-sql(at)postgresql(dot)org
Subject: Re: How to make a IN without a table... ?
Date: 2003-06-12 12:21:33
Message-ID: 20030612122133.GD680@apartia.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Jun 12, 2003 at 07:09:29AM -0500, Bruno Wolff III wrote:
> On Thu, Jun 12, 2003 at 13:50:27 +0200,
> David Pradier <dpradier(at)apartia(dot)fr> wrote:
> >
> > I guess i wasn't clear enough.
> > "my_function" here is a function which calculate some results about some
> > datas from the database.
> > Example : a function which would calculate the sum of the money (which
> > would be stored in the database by movement, ie amount + date + cause +
> > account) spent by user my_var1 during period my_var2.
> >
> > So no, perl can't do this.
>
> I think the idea was that perl could generate multiple query statements
> for you. This would be slower than doing as one query, but if the database
> is local there wouldn't be much difference.

Hmmm yes...
I'll try this too, good idea :-)

David

--
dpradier(at)apartia(dot)fr 01.46.47.21.33

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message David Pradier 2003-06-12 12:24:46 Re: How to make a IN without a table... ?
Previous Message Ludwig Lim 2003-06-12 12:18:35 Some Questions