Re: Ayuda Por Favor, Ayuda

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: "P(at)blo Villad(at)" <andresv50(at)hotmail(dot)com>
Cc: jose(at)mulleryasociados(dot)com(dot)ar, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Ayuda Por Favor, Ayuda
Date: 2005-05-06 15:04:56
Message-ID: 20050506150456.GD9796@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Fri, May 06, 2005 at 02:16:53PM +0000, P(at)blo Villad@ wrote:

> CREATE OR REPLACE FUNCTION andres(varchar) RETURNS aasesor as '
> DECLARE
> rtasesores aasesor%ROWTYPE;
> BEGIN
> SELECT INTO rtasesores a.ase_nmbre, a.ase_papllido from
> asesores a
> WHERE a.ase_nidntfccion=$1

^^^^^^

Te falta un ; ahi.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"And as an added bonus, now my computer goes to the toilet for me, leaving me
free to spend time on more useful activities! yay slug codefests!" (C. Parker)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Cesar Alvarado 2005-05-06 15:20:20 Re: Ayuda Por Favor, Me hechan del Trabajo
Previous Message Alvaro Herrera 2005-05-06 14:42:20 Re: Ayuda sobre usuarios postgres