<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The SQL Agent Man &#187; Contests</title>
	<atom:link href="http://thesqlagentman.com/category/contests/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesqlagentman.com</link>
	<description>Some call me... TIM!</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:26:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>What is a Transaction?</title>
		<link>http://thesqlagentman.com/2010/06/what-is-a-transaction/</link>
		<comments>http://thesqlagentman.com/2010/06/what-is-a-transaction/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 13:13:49 +0000</pubDate>
		<dc:creator>timford</dc:creator>
				<category><![CDATA[Contests]]></category>
		<category><![CDATA[SQL N00B Crew]]></category>
		<category><![CDATA[Syndicated]]></category>

		<guid isPermaLink="false">http://thesqlagentman.com/?p=1130</guid>
		<description><![CDATA[OK, Hive Mind I have an assignment for you.  As I plod through the edit phase of my Performance Tuning with SQL Server DMVs book I&#8217;ve been asked by my Overlord PITA Task Master Editor to explain what I mean by Transaction when used in discussing the sys.dm_tran_ &#8230; Dynamic Management Objects.  Of course we&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>OK, Hive Mind I have an assignment for you.  As I plod through the edit phase of my Performance Tuning with SQL Server DMVs book I&#8217;ve been asked by my <span style="text-decoration: line-through;">Overlord</span> <span style="text-decoration: line-through;">PITA</span> <span style="text-decoration: line-through;">Task Master</span> Editor to explain what I mean by Transaction when used in discussing the sys.dm_tran_ &#8230; Dynamic Management Objects.  Of course we&#8217;ve all memorized the definition from <a href="http://msdn.microsoft.com/en-us/library/aa213068(SQL.80).aspx" target="_blank">Microsoft Books Online</a> and our Microsoft Certified Training courses&#8230;</p>
<p><em>&#8220;A transaction is a sequence of operations performed as a single logical unit of work. A logical unit of work must exhibit four properties, called the ACID (Atomicity, Consistency, Isolation, and Durability) properties, to qualify as a transaction&#8230;&#8221;</em></p>
<p>Then we all go on to explain what <strong>ACID</strong> means in detail&#8230;</p>
<p><strong>Atomicity</strong> means that a transaction either completes all it&#8217;s necessary data modification in full, or rolls back in full.</p>
<p><strong>Consistency</strong> asserts that when transaction finishes, all data and supporting structures (think indexes) meets all rules that were put in place for the data (foreign keys, default constraints, etc.)</p>
<p><strong>Isolation</strong> denotes that a transaction is independent, isolated, and without impact from any other concurrent transaction active on the instance at the time it&#8217;s being processed.</p>
<p><strong>Durability</strong> requires that the effects of the transaction are persisted once completed, even in the face of system failure.</p>
<p>There, we all have the clinical definition in front of us that we learned fresh into our SQL Server careers. </p>
<h5>Your Challenge</h5>
<p>Now, my task to you Dear Reader is how do <em>you</em> describe a transaction?  How would you explain it, in a<em> non-technical</em> fashion if asked by a coworker, manager, editor, child, spouse, hobo, clown, etc.?  <span style="text-decoration: line-through;">Not that I&#8217;m saying my Editor is a childish clown that may or may not ride the train systems in Great Britain eating beans from a can.</span>  <span style="text-decoration: line-through;">Quite the contrary.</span>  Be creative.  Be accurate.  Be funny, serious, or obscene, but be <em>non-technical.</em>  Your words, credited to you, may make it into the book.  If you wish to remain anonymous in the book, please simply state that in your comments on this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesqlagentman.com/2010/06/what-is-a-transaction/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
