Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/01/2008, 09:43
Avatar de Beakdan
Beakdan
 
Fecha de Ingreso: diciembre-2001
Ubicación: Monterrey, Nuevo León
Mensajes: 433
Antigüedad: 23 años, 2 meses
Puntos: 7
Re: No_data_found

Tambien podrías usar la variable global @@ROWCOUNT:

Código:
SELECT valores FROM tabla WHERE condicion
IF @@ROWCOUNT = 0
BEGIN
    --NO_DATA_FOUND
END