El 25/01/2011 16:06, Tom Lane escribió:
> MoNiLlO writes:
>> When I launch one insert returns error:
>> I put the function and the returned error.
>> CREATE OR REPLACE FUNCTION ventas_det_a_ventas_imp()
>> RETURNS trigger AS
>> ...
>> ERROR: control reached end of trigger procedure without RET
El 25/01/2011 16:06, Tom Lane escribió:
> MoNiLlO writes:
>> When I launch one insert returns error:
>> I put the function and the returned error.
>> CREATE OR REPLACE FUNCTION ventas_det_a_ventas_imp()
>> RETURNS trigger AS
>> ...
>> ERROR: control reached end of trigger procedure without RET
El 24/01/2011 19:19, Andrej escribió:
> And, since the list is in English - please translate?
I'm sorry, I started writing and the language ... :-(
I have a function that is triggered in a trigger whose purpose is,
create a record in another table or update and return the id of the
record crea
El 25/01/2011 16:06, Tom Lane escribió:
> MoNiLlO writes:
>> When I launch one insert returns error:
>> I put the function and the returned error.
>> CREATE OR REPLACE FUNCTION ventas_det_a_ventas_imp()
>> RETURNS trigger AS
>> ...
>> ERROR: control reached end of trigger procedure without RET
MoNiLlO writes:
> When I launch one insert returns error:
> I put the function and the returned error.
> CREATE OR REPLACE FUNCTION ventas_det_a_ventas_imp()
> RETURNS trigger AS
> ...
> ERROR: control reached end of trigger procedure without RETURN
> CONTEXT: PL/pgSQL function "ventas_imp_a
El 24/01/2011 19:19, Andrej escribió:
> And, since the list is in English - please translate?
I'm sorry, I started writing and the language ... :-(
I have a function that is triggered in a trigger whose purpose is,
create a record in another table or update and return the id of the
record crea
El 24/01/2011 19:19, Andrej escribió:
> And, since the list is in English - please translate?
I'm sorry, I started writing and the language ... :-(
I have a function that is triggered in a trigger whose purpose is,
create a record in another table or update and return the id of the
record creat
Buenos días:
Tengo una función que se dispara en un trigger cuya finalidad es; crear
un registro en otra tabla o actualizarlo y devolviendo el id del registro
creado/modificado para guardarlo en la tabla desde la que se llama. Intentaré
explicarlo mejor:
tablaA --> Es la que dispara el
Buenos días:
Tengo una función que se dispara en un trigger cuya finalidad es; crear
un registro en otra tabla o actualizarlo y devolviendo el id del registro
creado/modificado para guardarlo en la tabla desde la que se llama. Intentaré
explicarlo mejor:
tablaA --> Es la que dispara el