Re: [GENERAL] PSQL Function() help....

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] PSQL Function() help....
Дата
Msg-id Pine.LNX.4.21.0001120420130.3735-100000@localhost.localdomain
обсуждение исходный текст
Ответ на PSQL Function() help....  ("Dale Anderson" <danderso@crystalsugar.com>)
Список pgsql-general
On 2000-01-12, Dale Anderson mentioned:

>     Here is what I am trying to do.  I an trying to create a function
> that is passed two numbers, get_people(2000,1).  The first value is a
> year, and the second is a week.  What I want the function to do, is to
> select all the names from a name table, and return a list of names
> that don't have an entry in the data table for the year, and week
> specified.  Can this be done??

No. Functions cannot return result sets. Certainly a deficiency, but
nobody is perfect.


--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



В списке pgsql-general по дате отправления:

Предыдущее
От: "Bruce Bantos"
Дата:
Сообщение: Re: [GENERAL] How do you live without OUTER joins?
Следующее
От: root
Дата:
Сообщение: (no subject)