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

Posted by Dan Guzman on 08/09/06 12:43

> Did Microsoft decide to do away with the
> TRAN_ABORT keyword?

Yes. Many changes were made during the development cycle.

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

The latest Books Online (plus mskb articles) is the authoritative reference.
Articles written based on pre-release software may be interesting from a
historical perspective but might not reflect reality.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"NiTiN" <emailme.nitin@gmail.com> wrote in message
news:1155124815.629986.82920@i3g2000cwc.googlegroups.com...
> 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

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