Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/05/2009, 11:01
robinsv
 
Fecha de Ingreso: mayo-2009
Mensajes: 15
Antigüedad: 14 años, 11 meses
Puntos: 0
Respuesta: Una pregunta sobre una consulta de plsql

ya lo hice

Código:
Create or replace function fivonatzi (n integer)
Return integer
As
Begin 
        If n = 0 then
	 Return 0;
         End if;
        if n = 1 then
               return 1;
        else
               return  fivonatzi (n-1) + fivonatzi(n-2);
        End if;
End fivonatzi;