Hola. Alguno de Uds. sabe si se pueden controlar los errores en el motor de BBDD sql server 97¿?.
Trato de hacer:
Código HTML:
BEGIN TRY
...
END TRY
BEGIN CATCH
SELECT
ERROR_NUMBER() AS ErrorNumber,
ERROR_SEVERITY() AS ErrorSeverity,
ERROR_STATE() AS ErrorState,
ERROR_PROCEDURE() AS ErrorProcedure,
ERROR_LINE() AS ErrorLine,
ERROR_MESSAGE() AS ErrorMessage;
END CATCH
no resulta, me envia un error.
Muchisimas gracias