More Group Sites
School Rankings
Jobless Net
Better Home
Enviro++


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

Begin Transaction and End Transaction in transactional databases Options · View
hong
Posted: Tuesday, September 14, 2010 10:14:50 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 335
Points: 711
Location: Australia
From SQL Server CE to full-blown SQL Server, most databases are transactional databases A transactional database ensures consistency and integrity of data with transactions. A transaction consists of one or more SQL and queries or non-query commands. Hence Begin Transaction and End Transaction come into play:
1.Begin Transaction
2.Execute one or more queries or data-manipulation statements
3.If no errors occur then commit the transaction and End Transaction
4.If errors occur then rollback the transaction and End Transaction

With this, a partial transaction cannot be committed or persisted to the database

Internally, multi-user databases store and process transactions using a transaction ID or XID.
Sponsor
Posted: Tuesday, September 14, 2010 10:14:50 PM
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.152 seconds.