Re: Function

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: "Sumita Biswas (sbiswas)" <sbiswas(at)cisco(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Function
Date: 2004-02-16 17:39:42
Message-ID: 20040216093810.V14898@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(...);

In response to

  • Re: Function at 2004-02-16 08:12:01 from Sumita Biswas (sbiswas)

Browse pgsql-sql by date

  From Date Subject
Next Message Greg Patnude 2004-02-16 17:51:46 Re: nextval problem
Previous Message Tom Lane 2004-02-16 16:30:34 Re: Date format problems