Hi!
This is some function.
CREATE FUNCTION my_func(text) RETURNS text AS '
DECLARE
name TEXT;
lastname TEXT;
BEGIN
name := ''Uros'';
lastname := ''Gruber'';
RETURN ime;
END;
' LANGUAGE 'plpgsql';
Output is like this
my_func
--------
Uros
(1 row)
What i want to do is output like this
name | lastname
------------+------------------
uros | gruber
(1 row)
How can i write this function to return both values?
--
Thanks, Uros