Return from stored procedures

Поиск
Список
Период
Сортировка
От Graham Vickrage
Тема Return from stored procedures
Дата
Msg-id NDBBJABDILOPAOOMFJHOOEIBCFAA.graham@digitalplanit.com
обсуждение исходный текст
Ответы Re: Return from stored procedures  (Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu>)
Список pgsql-sql
Probably a very simple question, but how do you define a function that
returns the sucess of an insert or update in a function i.e.

CREATE FUNCTION foo ( varchar, int8 ) RETURNS bool   AS 'UPDATE table WHERE something'   LANGUAGE 'sql';

Cheers

Graham



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

Предыдущее
От: "Gerhard Dieringer"
Дата:
Сообщение: Re: Requests for Development
Следующее
От: KuroiNeko
Дата:
Сообщение: Re: Re: Requests for Development