Error Handling

ERROR_PROCEDURE Does Not Return a Schema Name

  • Article

"A recent blog entry I read reminded me again that I wanted to rant about an issue in SQL Server for quite some time now. SQL Server 2005 introduced the separation between user and schema. Though schemata already existed before SQL Server 2005, they really became usable with this version, imho. At the same time TRY...CATCH was a new way for structured error handling introduced. And so it finally became possible…"

2011-01-26

2,799 reads

Handling SQL Server Errors

  • Article

This article covers the basics of TRY CATCH error handling in T-SQL introduced in SQL Server 2005. It includes the usage of common functions to return information about the error and using the TRY CATCH block in stored procedures and transactions.

2010-05-17

5,003 reads

Blogs

ConFoo–The Future of Database Development in Containers

By

I delivered a talk at the ConFoo conference. I’ve never been to this live,...

Daily Coping 25 Feb 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

2020 Advent of Code–Day 3

By

This series looks at the Advent of Code challenges. As one of my goals,...

Read the latest Blogs

Forums

List all stored procedures which return datasets

By AlexF

Is there any way to do that? I need to list that kind of...

SSRS Export to separate pdfs

By spboutput

Hi everyone, can anyone tell me the process of how to create multiple pdf's...

Missing connections not causing a job failure

By DamianC

Hello I have a package that logs using Configure SSIS Logs: Logging It logs...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers