Re: llamar funciones ..muy confuso

From: Jenaro Centeno Gomez <jcenteno(at)aldia(dot)com(dot)mx>
To: marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: llamar funciones ..muy confuso
Date: 2007-12-19 18:10:49
Message-ID: 47695EA9.8060500@aldia.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Depende de lo que requieras de la función, normalmente con ejecutar:

PERFORA funcion()

sería más que suficiente.

marcelo Cortez escribió:
> Gente
>
> Esto de crear funciones... cada vez aparece algo nuevo
>
> (que me confunde ) . a ver . tengo 2 funciones aca les
> pongo los headers
>
> CREATE OR REPLACE FUNCTION loadall2()
> RETURNS void as...
>
> y otra
> REATE OR REPLACE FUNCTION cargatokens(boolean, text,
> text, text, text, text, text, text, text, integer,
> timestamp without time zone, timestamp without time
> zone)
> RETURNS void AS ...
>
> de la funcion loadall2() intento llamar a la funcion
> cargatokens , yo pense que con hacer
>
>
> cargatokens(b_activo,b_marca,b_clase,b_acta,b_agte,b_cobertura,b_tmarca,b_pais,b_titular,b_nbol,b_fpres,b_fpublic);
> alcanzaba pero no me da error solo me compila si le
> pongo..
>
> execute
> cargatokens(b_activo,b_marca,b_clase,b_acta,b_agte,b_cobertura,b_tmarca,b_pais,b_titular,b_nbol,b_fpres,b_fpublic);
>
> Esta bien esto??
> saludos
>
> Marcelo
>
> pd: sigo con otras rarezas en otro email..
>
>
>
> Los referentes más importantes en compra/ venta de autos se juntaron:
> Demotores y Yahoo!
> Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/
> --
> TIP 5: ¿Has leído nuestro extenso FAQ?
> http://www.postgresql.org/docs/faqs.FAQ.html
>
>
>

--
L.A. Jenaro Centeno Gómez
Coordinador de Tecnologías de la Información
Alimentos La Concordia, S.A. de C.V.
Ext. 9280
www.aldia.com.mx

Attachment Content-Type Size
jcenteno.vcf text/x-vcard 485 bytes

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message marcelo Cortez 2007-12-19 18:11:19 Re: rarezas
Previous Message Laura Martinelli 2007-12-19 18:09:52 Re[2]: script backup linux