Code Inspection: Unreachable code
Reports unreachable statements inside SQL routines.
Example (Microsoft SQL Server):
In Microsoft SQL Server, the
THROWstatement raises an exception and transfers execution to the CATCH block of the TRY...CATCH construct. Therefore, the
RETURN 1;part will never be executed.
Suppress an inspection in the editor
Position the caret at the highlighted line and press Alt+Enter or click .
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.