Tema: Procedure
Ver Mensaje Individual
  #2  
Antiguo 05-11-2010
Avatar de mightydragonlor
[mightydragonlor] mightydragonlor is offline
Miembro Premium
 
Registrado: feb 2007
Ubicación: Medellín-Colombia
Posts: 587
Reputación: 20
mightydragonlor Va por buen camino
Código SQL [-]
Select * from tabla where IdProducto  = @IdProducto 
If @@ROWCOUNT = 0
BEGIN
   --Acá llega si no encontró registros
END
__________________
mas confundido que Garavito el día del Niño.
Responder Con Cita