Re: Function para borrar

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Micky Khan <mcanchas(at)hotmail(dot)com>
Cc: FORO POSTGRES <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Function para borrar
Date: 2018-05-22 20:26:10
Message-ID: 20180522202610.qqzewpxqo6w7p6ea@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Micky Khan escribió:
> Buenas .
>
> Estoy creando una funcion para borrar y me sale este error :

Te falta el "RETURNS typ" después de los parámetros:

> CREATE OR REPLACE FUNCTION public.borrar_rollos (
>
> seq_rollo integer
> )

--- aquí

> $body$
> DECLARE

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Anthony Sotolongo 2018-05-22 20:26:35 Re: Function para borrar
Previous Message Micky Khan 2018-05-22 20:08:02 Function para borrar