Ver Mensaje Individual
  #3  
Antiguo 27-12-2005
Avatar de lucasarts_18
lucasarts_18 lucasarts_18 is offline
Miembro
 
Registrado: mar 2005
Ubicación: Villa Alemana,Chile
Posts: 1.087
Reputación: 21
lucasarts_18 Va por buen camino
Hola:

Ahora dejo el ejemplo desde un package lo cual se logra resolver mi inquitud que tenía al momento de abrir el hilo..

Código SQL [-]
 Create Or Replace Package Mantenedor_Usuarios is
 
   -- Public type declarations
   --type  is ;
    TYPE c_LISTA IS REF CURSOR;
    
 END Mantenedor_Usuarios;
 
 Create Or Replace Package Body Mantenedor_Usuarios is
 
 PROCEDURE SP_S_LEER_GRUPOS (
   LISTAR_GRUPOS OUT c_LISTA);
 
 --implementation
 
 PROCEDURE SP_S_LEER_GRUPOS (
   LISTAR_GRUPOS OUT c_LISTA)
 IS
 BEGIN
   OPEN LISTAR_GRUPOS 
   FOR SELECT * FROM GRUPO;
 END;
 
 END Mantenedor_Usuarios;

Esto no se puede hacer desde un Procedimiento Almacenado...

Hasta Luego -
__________________
No todo es como parece ser...
Responder Con Cita