Skip to content
Advertisement

Tag: try-catch

TRY/CATCH block vs SQL checks

Shortly, I am wondering which of the following is the better practice: to encapsulate my code in TRY/CATCH block and display the error message to write own checks and display custom error messages As I have read the TRY/CATCH block is not handling all types of errors. In my situation this is not an issue. I am building dynamic SQL

Advertisement