plpgsql-function returning a table?
plpgsql-function returning a table?
От:
Konstantinos Agouros <elwood@agouros.de>
Дата:
Hi, I have a query that is a little bit complicated and that should contain one parameter. I need this stuff more often, so I thought to create a function where I do something like select complexquery(2000); and as result I get the table I want. Is this possible, or can I create parametrized views? Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood@agouros.de Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185 ---------------------------------------------------------------------------- "Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres