From: | Peter Maas <pm(at)mrinfo(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: function to return query result |
Date: | 2000-11-30 10:56:19 |
Message-ID: | 3A263253.C3B2F549@mrinfo.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Peter Maas wrote:
> >Then you can do selects on the view using a where clause:
> >
> >select *
> >from test
> >where a.a='somevalue';
[...]
>yes, but I wanted to encapsulate the more complicated data internals
>(joins, sub queries, etc) in server functions.
OK, I can do that with views also but an advantage of parameterized
views and fucntions is that the SQL Parsing has to be done only once.
Peter
--
------------------------------------------------------------------
Peter Maas, m+r infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-875094 Fax +49-241-875095 eMail pm(at)mrinfo(dot)de
------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Gordan Bobic | 2000-11-30 10:58:33 | Built in Functions use with recordsets |
Previous Message | Peter Maas | 2000-11-30 10:48:15 | Re: function to return query result |