1 / 12

5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR

5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR. Presented by : Sifiso Ndlovu. 5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR. Less Lines Accurate Troubleshooting by Error Line Number

dixon
Download Presentation

5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR Presented by: Sifiso Ndlovu

  2. 5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR • Less Lines • Accurate Troubleshooting by Error Line Number • Accurate Troubleshooting by Error Number • Accurate Termination of T-SQL Statement • Practice Statement Termination before learning to THROW

  3. 1. Less Lines RAISERROR THROW

  4. 2. Accurate Troubleshooting by Error Line Number RAISERROR THROW

  5. 3. Accurate Troubleshooting by Error Number

  6. 3. Accurate Troubleshooting by Error Number RAISERROR THROW

  7. 4. Accurate Termination of T-SQL Statement RAISERROR

  8. 4. Accurate Termination of T-SQL Statement THROW

  9. 5. Practice Statement Termination before learning to THROW RAISERROR THROW

  10. 5. Practice Statement Termination before learning to THROW THROW

  11. 5 Reasons You Should Handle SQL Server Exceptions Using THROW Instead of RAISERROR • Less Lines • Accurate Troubleshooting by Error Line Number • Accurate Troubleshooting by Error Number • Accurate Termination of T-SQL Statement • Practice Statement Termination before learning to THROW

  12. Questions…

More Related