You are here: TRAN_ABORT gone? « MsSQL Server « IT news, forums, messages
TRAN_ABORT gone?

Posted by NiTiN on 08/09/06 12:00

Hi!

I've been trying out SQL Server 2005's new Try-Catch exception handling
and I tried using the following form:

SET XACT_ABORT ON
BEGIN TRY
END TRY
BEGIN CATCH TRAN_ABORT
END CATCH

However, I get a syntax error on TRAN_ABORT.... removing it gives me
the expected output. Did Microsoft decide to do away with the
TRAN_ABORT keyword?

The syntax above (with the TRAN_ABORT) can be found at:
http://www.informit.com/articles/article.asp?p=327394&seqNum=8&rl=1

I did find some other articles (including MS SQL Server 2005 BOL) that
entirely left out the TRAN_ABORT keyword.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация