On Thu, 12 Feb 2004, Sumita Biswas (sbiswas) wrote:
> Hi All,
>
> This function of mine gives a Parse Error:
>
> CREATE or replace FUNCTION Proc_ConferenceSummary(date,date,int,int,int)
> RETURNS SETOF tbl_error_master AS
> '
> declare
> li_CallManagerId int;
> begin
> select * FROM tbl_error_master;
> end;
> '
> LANGUAGE SQL;
I think you want plpgsql as the language.