Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/10/2010, 08:23
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: Consulta con funciones

death_nemesis

dentro de la función solo basta con llamar la función 1 como si llamases cualquier función del sistema.

Código SQL:
Ver original
  1. CREATE OR REPLACE FUNCTION Funcion2() RETURNS BOOLEAN AS $_$
  2. DECLARE
  3. variable INTEGER;
  4. BEGIN
  5. variable = funcion1(1,2);
  6.      RETURN TRUE;
  7. END;
  8. $_$
  9. LANGUAGE plpgsql;
__________________
Without data, You are another person with an opinion.
W. Edwads Deming