Auxilio me botan del proyecto

From: francyX <francyx(at)gmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Auxilio me botan del proyecto
Date: 2005-06-21 01:44:12
Message-ID: 14204cda05062018441b19e7fa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

hola amigos de la lista tengo un problema con una funcion que
insertas datos en una tabla de 14 campos me sale un error asi:

ERROR: function sp_insercliente("unknown", "unknown", "unknown",
integer, "unknown", "unknown", "unknown", "unknown", integer,
"unknown", "unknown", "unknown", "unknown") does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts.

y cual es el error en mi funcion:

CREATE OR REPLACE FUNCTION filtrocliente(int4)
RETURNS SETOF record AS
'
DECLARE
rec record;
BEGIN
FOR rec IN select
Cliente.estado,Cliente.habitacion,Habitacion.tipo,Cliente.ingreso,Cuenta.totaldolares
FROM Cliente LEFT OUTER JOIN Cuenta ON
dbo.Cliente LEFT OUTER JOIN Cuenta ON Cliente.cod_cliente =
Cuenta.cod_cliente INNER JOIN Habitacion ON Cliente.habitacion =
Habitacion.numhabitacion
Where Cliente.codigo Like rtrim($1)+'%' LOOP
RETURN NEXT rec ;
END LOOP;
RETURN ;
END;
'
LANGUAGE 'plpgsql' VOLATILE;

un servicio men ya me botan del empleo les agradesco por anticipado su ayuda

Francisco

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Nahum Castro 2005-06-21 02:17:47 Re: Ayuda con migracion de datos
Previous Message Leonel Nunez 2005-06-21 01:06:48 Re: Ayuda con migracion de datos