[pgsql-ayuda] URGENTE ...!! STORE PROCEDURE

Marco De La Torre Ugarte P. marco@sni.org.pe
Mon, 19 Feb 2001 17:16:01 -0500 (PET)


COMO PUEDO UTILIZAR STORE PROCEDURE EN POSTGRES...POR FAVOR 
ES VERY IMPORT... SI ES POSIBLE ENVIENME UN EJEMPLO-.-

MUCHAS GRACIAS.

> Anderson:
> De acuerdo a la salida que quieres es:
> 
> 
> SELECT  campo from tabla_uno UNION SELECT campo FROM 
tabla_dos UNION SELECT
> campo FROM tabla_tres;
> 
> Nota: Los datos deben ser del mismo tipo.
> 
> Para mayor información sobre postgres y select visita:
> http://www.postgresql.org/users-lounge/docs/7.0/tutorial/
> 
> > Gracias por la respuesta lo que necesito es esto.
> > tengo las siguientes tablas
> >
> > l01g1005
> > 701
> > 702
> > 703
> > 704
> >
> > l02g1005
> > 701
> > 705
> > 706
> > 707
> >
> > l03g1005
> > 702
> > 708
> > 709
> > 710
> >
> > la cuarta tabla debe quedar
> >
> > resultado
> > 701
> > 702
> > 703
> > 704
> > 705
> > 706
> > 707
> > 708
> > 709
> > 710
> >
> > gracias espero que con esta explicacion quede mas claro 
gracias lista
> >
> >
> >
> >
> >
> >
> > --------- Pie de mensaje -------------------------------
------------
> > Archivo historico: 
http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
> > Cancelar inscripcion:
> > mail to: majordomo@tlali.iztacala.unam.mx
> > text   : unsubscribe pgsql-ayuda
> >
> >
> 
> --------- Pie de mensaje ---------------------------------
----------
> Archivo historico: 
http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
> Cancelar inscripcion:
> mail to: majordomo@tlali.iztacala.unam.mx
> text   : unsubscribe pgsql-ayuda
> 


-- 
Marco A. De La Torre Ugarte Pittman      __o
Sociedad Nacional de Industrias     ---_ \<,_   
4218830 - 249  / 902-9268          ---(_)/ (_)
http://www.linux.org.pe/anuncios.html
Los acentos han sido omitidos intencionalmente.

--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : unsubscribe pgsql-ayuda