Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/10/2010, 08:28
Avatar de death_nemesis
death_nemesis
 
Fecha de Ingreso: abril-2009
Ubicación: Santiago - Chile
Mensajes: 147
Antigüedad: 15 años
Puntos: 2
Respuesta: Consulta con funciones

Cita:
Iniciado por huesos52 Ver Mensaje
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;
Gracias huesos52 voy a probar y te cuento como me fue.