Other News

Editorials

Using params in a C# Method

Here’s a little C# technique that can save you time when you passing an undefined set of data from one method to another. This may be a newbee kind of thing. But, if you haven’t come across it yet, it can be very handy. Let me start out with an example problem. Have you ever used the string.Format method in […]

Pro Members SQL Server Standard Members

Handling errors in T-SQL code

Handling errors in T-SQL code Author: Basit A. Farooq Like other programming languages, Transact-SQL provides a sophisticated mechanism that captures and handles errors during execution. The mechanism for handling errors during execution includes the Transact-SQL tradition error handling function @@ERROR and object-oriented-programming-style TRY…CATCH construct. In this article, you’ll examine both techniques. Traditional error handling Earlier versions of SQL Server supported...

This content is for Pro, Pro Member, Pro Member Annual - Fall Sale, Pro Member Monthly - Fall Sale, Standard, Standard Member, Standard Member Annual - Fall Sale, and Standard Member Monthly - Fall Sale members only.
Register
Already a member? Log in here