Sign in | Join

Peter Johnson's Blog

ASP.NET and other technologies

This Blog

  • Home
  • About

Syndication

  • RSS
  • Atom
  • Comments RSS

Search

  • Go

Tags

    • .NET
    • 64-bit
    • ASP.NET
    • ASPInsiders
    • ASPInsiders2006
    • C#
    • Code Analysis
    • Enterprise Library
    • Error Handling
    • Events
    • General Software Development
    • IIS
    • jQuery
    • LINQ
    • MVC
    • Oracle
    • Sandcastle
    • SQL Server
    • SQL Server 2005
    • SQL Server 2008
    • Team System
    • TFS
    • Unit Testing
    • Unity
    • Vista
    • Visual Studio
    • WCF
    • WF
    • Windows 7
    • Windows Services
    • WWF

Navigation

  • Home
  • Blogs

Archives

  • October 2012 (1)
  • September 2012 (3)
  • April 2012 (1)
  • November 2010 (1)
  • October 2010 (1)
  • May 2010 (1)
  • December 2009 (3)
  • July 2007 (2)
  • March 2007 (1)
  • January 2007 (1)
  • December 2006 (1)
  • August 2006 (2)
  • May 2006 (2)
  • April 2006 (2)
  • March 2006 (1)
  • February 2006 (4)

Browse by Tags

All Tags » SQL Server 2008 (RSS)
  • Error Handling
  • SQL Server
  • SQL Server 2005
Monday, October 04, 2010 3:05 PM

SQL Server 2005/2008's TRY/CATCH and constraint error handling

I was thrilled that T-SQL finally got the TRY/CATCH construct that many object-oriented languages have had for ages. I had been writing error handling code like this: BEGIN TRANSACTION TransactionName ... -- Core of the script - 2 lines of error handling...
Posted by pjohnson | 2 comment(s)
Filed under: SQL Server 2008, Error Handling, SQL Server 2005, SQL Server
More Posts
 
Terms of Use