I have a bad syntax or is impossible pass NEW.*?
thanks, Ale
_
CREATE OR REPLACE FUNCTION public.dr_aggiorna_consistenze()
RETURNS trigger AS
'
declare
room int; BEGIN
SELECT INTO camere count_room(NEW.*) FROM NEW ;
NEW.camere = camere;
RETURN NEW;
END;
'
LANGUAGE 'plpgsql' VOLATILE;--
-------------------------------
Alessandro Vincelli W4B - web for business s.r.l.
Firenze via Pellicceria 10 - 50123
E-mail: [EMAIL PROTECTED]
tel: 055-2654270
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings
