Hi, I created my first SQL Views .
I followed the exemple that suggest the Administration Manual but i'm not understand if it is possible to pass a input parameter to a View. My function is :
CREATE OR REPLACE FUNCTION public.prova_email(seriale text, OUT mail text)
RETURNS text
LANGUAGE plpgsql
AS $function$BEGIN
EXECUTE 'SELECT "Supplier"."email"
FROM "Asset", "Supplier"
WHERE "Asset"."Supplier"="Supplier"."Id"
and "Asset"."Serial"='||quote_literal(seriale) INTO mail;
END
$function$
THANKS