Tento prehliadač už nie je podporovaný.
Inovujte na Microsoft Edge a využívajte najnovšie funkcie, aktualizácie zabezpečenia a technickú podporu.
You're writing some error handling in a T-SQL script. If a problem arises, you want to raise an error with a severity of 20. Which command would you use to for this type of error handling?
THROW
RAISERROR
@@ERROR
How can you THROW outside of a CATCH block?
With arguments that raise a user-defined error.
With a conditional EXCEPTION clause
With a RAISERROR argument.
In what situation would you use @@ERROR?
To throw an error code.
To trigger an alert
To capture the last error code.
You must answer all questions before checking your work.
Bola táto stránka užitočná?
Potrebujete pomôcť s touto témou?
Chcete si vyskúšať použitie funkcie Ask Learn na objasnenie alebo predstavenie tejto témy?