From: | "Mario Soto Cordones" <msotocl(at)gmail(dot)com> |
---|---|
To: | "'Lista PostgreSQL'" <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Función |
Date: | 2009-06-30 00:40:40 |
Message-ID: | 000001c9f91b$77e17fb0$67a47f10$@com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Hola Lista, tengo la siguiente función:
CREATE OR REPLACE FUNCTION "public"."inspropiedades" (char, smallint,
smallint, integer, smallint, smallint, smallint, varchar, varchar, varchar,
smallint, smallint, smallint, varchar, varchar, varchar, varchar, varchar)
RETURNS "pg_catalog"."void" AS
$body$
INSERT INTO epropiedades_propiedades( id_estado, co_empresa, co_filial,
co_propiedad, co_tipo, co_estado, ty_operacion, nb_propiedad, tx_direccion,
tx_calle, co_comuna,
co_region, co_provincia,rut_propietario, rut_corredor, tx_numero,
tx_referencia, id_usuario)
VALUES ($1, $2, $3, $4, $5,$6, $7, $8, $9, $10,$11,$12,$13, $14,
$15,$16,$17,$18);
$body$
LANGUAGE 'sql'
VOLATILE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
La ejecuto de la siguiente forma:
select * from inspropiedades('SA', 1, 1, 109, 1, 1, 3, 'CASA QUINTA CARMEN',
'DIRECCION', 'CALLE CARMEN', 30, 13,
1,'1-6','1-6','123456','REFERENCIA','MSOTO')
Y me da el siguiente error:
ERROR: function inspropiedades(unknown, integer, integer, integer, integer,
integer, integer, unknown, unknown, unknown, integer, integer, integer,
unknown, unknown, unknown, unknown, unknown) does not exist
LINE 1: select * from inspropiedades('SA', 1, 1, 109, 1, 1, 3, 'CASA...
^
HINT: No function matches the given name and argument types. You might need
to add explicit type casts.
En verdad no se que pueda ser alguien me puede dar una mano
atentamente,
Mario Soto Cordones
medio ambiente Porfavor antes de Imprimir éste correo, piense en los
árboles de nuestro planeta.
From | Date | Subject | |
---|---|---|---|
Next Message | Julio Cesar Rodriguez Dominguez | 2009-06-30 02:50:26 | Re: [pgsql-es-ayuda] Función |
Previous Message | Alejandro D. Burne | 2009-06-29 22:22:01 | Re: pgbouncer y conexiones rotas |