| От | Scott Marlowe |
|---|---|
| Тема | Re: Calling Functions and Stored Procedures |
| Дата | |
| Msg-id | 1090190352.3429.24.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Calling Functions and Stored Procedures ("Mark Dexter" <MDEXTER@dexterchaney.com>) |
| Список | pgsql-novice |
On Wed, 2004-07-14 at 19:21, Mark Dexter wrote: > I understand that functions in Postgres server the purpose of both > functions and stored procedures in other db's (e.g., MSSQL and > Oracle). In these other databases, you call a stored procedure with > different syntax (e.g., CALL <procedure name>) instead of using it in > line in a SELECT statement. > > My question is this: If I write a Postgres function that is not > designed to be part of a query (e.g., it should just do something), do > I still use a SELECT statement to execute the function? Is there some > other syntax that is the equivalent to CALL or EXEC? Nope, you still use the select function() syntax for that too.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера