> CREATE FUNCTION b_function() RETURNS int4 AS '> DECLARE> an_integer int4;> BEGIN> select emp_id from employee;> return an_integer;> END;> '> LANGUAGE 'plpgsql';>TrySELECT INTO an_integer emp_id from employee;
Regards, Christoph