Re: Execute a function?

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: Execute a function?
Дата
Msg-id 342055250.20050315081620@compulab.co.il
обсуждение исходный текст
Ответ на Re: Execute a function?  ("Steve - DND" <postgres@digitalnothing.com>)
Список pgadmin-support
If you have a function that returns a recordset instead of just a
value then you would have to do a select * from functionname
You can also try reading the documentation on functions. I believe
section 35 discusses the various pl languages.

Sim
__________________________________________________________

> Been a _very_long while, but try:
>
> SELECT my_function(param_1, param_2) As Answer;

Yep, that did it. I'm such a newb with PG, still trying everything the MSSQL
way first. Is that the proper way to do it even if you have a function that
returns void?

Steve



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
              http://www.postgresql.org/docs/faq



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

Предыдущее
От: "Steve - DND"
Дата:
Сообщение: Re: Execute a function?
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Execute a function?