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; psql:Proc_ConferenceSummary.sql:9: ERROR: parser: parse error at or near "int" at character 31 I don't see any Syntax Error. Can you please let me know what can be the issue? Regards, Sumita ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster