Begin work (SQL): Difference between revisions

Content deleted Content added
No edit summary
JCLately (talk | contribs)
Undid revision 141995520 by 144.36.250.34 (talk) - revert vandalism
Line 1:
{{Mergeto|Database transaction|date=May 2007}}
 
odeA <code>BEGIN WORK</code> statement in [[SQL]] starts a [[database transaction|transaction]] within a [[relational database management system]] (RDBMS).
A <code>BEGIN WORK</chgfhghgh
ode> statement in [[SQL]] starts a [[database transaction|transaction]] within a [[relational database management system]] (RDBMS).
 
Any work done after this point will not be visible to other users, until a <code>[[Commit (SQL)|COMMIT]]</code> statement is issued. A <code>[[Rollback (data management)|ROLLBACK]]</code> statement can also be issued, which will undo any work performed since the <code>BEGIN WORK</code> command. Both <code>COMMIT</code> and <code>ROLLBACK</code> will end the transaction: another <code>BEGIN WORK</code> will need to be issued to start a new one.