From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Sumita Biswas (sbiswas) <sbiswas@cisco.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Function
Date: Mon, 16 Feb 2004 09:39:42 -0800 (PST)
Message-ID: <20040216093810.V14898@megazone.bigpanda.com> (raw)
In-Reply-To: <004d01c3f464$8ecf67d0$2a154d0a@apac.cisco.com>
References: <004d01c3f464$8ecf67d0$2a154d0a@apac.cisco.com>
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(...);
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone.bigpanda.com, sbiswas@cisco.com
Subject: Re: Function
In-Reply-To: <20040216093810.V14898@megazone.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox