On 9/12/06, Alexander Quilca <alquilca(at)hotmail(dot)com> wrote:
> CREATE OR REPLACE FUNCTION "FN_R_GESTOR" (ptipo varchar , pcriterio varchar)
> RETURNS SETOF "TP_FN_R_GESTOR" AS
> $body$
> DECLARE
> mres "TP_FN_R_GESTOR";
> BEGIN
>
> IF (UPPER(ptipo)='T') THEN -- Trabajadores
>
> BEGIN
Ademas, me parece que tienes un BEGIN de mas...
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook