EjemplosDuoc.es.tl
  Captura de Error
 
-- Permite capturar un error producido en el Pa
BEGIN TRY
DECLARE @VALOR INT
SET @VALOR=1
SELECT @VALOR=@VALOR/0
PRINT @VALOR
END TRY
BEGIN CATCH
PRINT '0I'
END CATCH
 
   
 
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis