Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/11/2006, 18:15
Avatar de kikolice
kikolice
 
Fecha de Ingreso: marzo-2004
Mensajes: 1.510
Antigüedad: 20 años, 2 meses
Puntos: 7
if (select idnumero from X where idnumero = variable) loop
end if;

no veo donde entre el "loop" ahi, es "then"

lo que normalmente hago en estos casos es o manejar una bandera o tratar la excepcion

begin

select idnumero into bandera from X where idnumero = :variable;

sigue es que existio;

exception when no_data_found the
no existio;
end;
__________________
Blogzote.com :-) Mi blog