473,408 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

TRAN_ABORT gone?

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/art...&seqNum=8&rl=1

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

Aug 9 '06 #1
2 1797
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" <em***********@gmail.comwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.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/art...&seqNum=8&rl=1

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

Aug 9 '06 #2
That article was written in 2004, and therefore reflects SQL Server 2005
Beta 1. TRAN_ABORT was gone by Beta 2.

The current Books Online topics reflect the functionality that shipped in
the final release or was added in Service Pack 1.

--
Alan Brewer [MSFT]
Content Architect, SQL Server Documentation Team

Download the latest Books Online update:
http://www.microsoft.com/technet/pro...ads/books.mspx

This posting is provided "AS IS" with no warranties, and confers no rights.
Aug 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Christian Tismer | last post by:
Dear Former Stackless Users, I have to use this list to announce something really bad to you, since all the Stackless lists are defunct: The Stackless project is finally dead, now and forever....
2
by: jason | last post by:
Strange! My maximumASP sites have all gone down and I cannot access their website for trouble support - either to get phone number or eemail as their site has gone down to.... Has anyone got a...
0
by: hellrazor | last post by:
I installed MySQL DB Server, 4.01.24 on a 2000 Server system. I also installed the MySQL Administrator. Through the MySQL Admin, I set a PW for 'root', and then I added a new user, let's call it,...
7
by: Muscha | last post by:
My c# application has gone beserk, it consumes 700MB memory griding my machine to a halt. What is the quickest way for me to find out what's happening? Where do all the memory has gone? /m
2
by: Ole Hanson | last post by:
Hi Trying to access the users desktop items, I want to use the following method: string url = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Desktop); But - the...
7
by: TC | last post by:
Visual Basic used to have a function called String(), which would create a repeating character string. Is that gone in VB .NET? -TC
5
by: Robin Tucker | last post by:
Ok now my intellisense has gone t's-up again - I also cannot use undo/redo in the editor. I deleted the NCB file in case that was corrupt but no poonanas, its still fubar (how many explitives can...
1
by: Ben | last post by:
Hi All, Have you ever experience the situation when designing a WebForm: Switching between "Design" and "HTML" view sometime and you get an error message about Internet Explore, then the...
10
by: Stephan Brunner | last post by:
Hi VS 2003 used to have an (Overrides) entry in the left dropdown of the code editor. Where has this handy feature gone in VS 2005?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.