---
title: "Discussion on \"Handling Exceptions with Try-Catch in SQL Server\" | Hashnode"
description: "Discussion on \"Handling Exceptions with Try-Catch in SQL Server\". This post is to understand and demonstrate TRY CATCH in SQL Server, we will also see, how to trigger and handle custom exceptions with example."
url: "https://hashnode.com/posts/handling-exceptions-with-try-catch-in-sql-server/642abedb22cc225f578ebeda"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Handling Exceptions with Try-Catch in SQL Server](https://mssqlserver.dev/handling-exceptions-with-try-catch-in-sql-server?utm_source=hashnode&utm_medium=feed)

This post is to understand and demonstrate TRY CATCH in SQL Server, we will also see, how to trigger and handle custom exceptions with example.

Apr 3, 2023 · 9 min read · mssqlserver.dev  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#sql-server](https://hashnode.com/tag/sql-server)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#sqltutorial](https://hashnode.com/tag/sqltutorial)

## Written by

[kiran sabne](https://hashnode.com/@kiransabne)

@kiransabne

  
[View profile](https://hashnode.com/@kiransabne)

SQL Developer and Backend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
