Re: Function

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Function
Дата
Msg-id 20040216093810.V14898@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Function  ("Sumita Biswas (sbiswas)" <sbiswas@cisco.com>)
Список pgsql-sql
On Mon, 16 Feb 2004, Sumita Biswas (sbiswas) wrote:

> Thanks for the answer.
> I have one more issue. How do I test a function that I wrote?
> I was able to create a function called Proc_ConferenceSummary().
> In SQL Server I used to run it through query analyzer by writing the
> following command:
> exec Proc_ConferenceSummary '12/1/2003','1/23/2004',1,1,0,5001

For functions that return setof or complex types, you can do it as
select * from Proc_ConferenceSummary(...) as alias;

For simple functions you can just use:
select functionname(...);


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Date format problems
Следующее
От: "Kumar"
Дата:
Сообщение: Re: Getting the week of a date