<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx</link><description>My book is finished. A couple years ago I googled up "Defensive Database Programming", and came up with nothing. Naturally, I started filling up the void. Although the book is complete, I am planning to continue my research; I would appreciate any other</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26276</link><pubDate>Fri, 18 Jun 2010 20:31:55 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26276</guid><dc:creator>Sankar Reddy</dc:creator><description>&lt;p&gt;Alex,&lt;/p&gt;
&lt;p&gt;How different is the book listed in amazon from the one listed on simple-talk?&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.simple-talk.com/books/sql-books/defensive-database-programming/"&gt;http://www.simple-talk.com/books/sql-books/defensive-database-programming/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.amazon.com/Defensive-Database-Programming-SQL-Server/dp/1906434492/ref=cm_cr_pr_product_top"&gt;http://www.amazon.com/Defensive-Database-Programming-SQL-Server/dp/1906434492/ref=cm_cr_pr_product_top&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A quick look tells me that ISBN numbers are different but the titles are same.&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26277</link><pubDate>Fri, 18 Jun 2010 20:44:23 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26277</guid><dc:creator>Alexander Kuznetsov</dc:creator><description>&lt;p&gt;Sankar,&lt;/p&gt;
&lt;p&gt;The printed/kindle editions have two more chapters:&lt;/p&gt;
&lt;p&gt;Ch. 09: Concurrent Queries and Transaction Isolation Levels&lt;/p&gt;
&lt;p&gt;A query that works splendidly in isolation can often fail miserably when put to work in&lt;/p&gt;
&lt;p&gt;a live OLTP system, with real life concurrency. To make a bad situation worse, in many&lt;/p&gt;
&lt;p&gt;cases such errors are subtle and intermittent, and therefore very difficult to reproduce&lt;/p&gt;
&lt;p&gt;and understand. This chapter considers the case of reporting queries running against&lt;/p&gt;
&lt;p&gt;tables that are being simultaneously modified, demonstrates how inconsistent results&lt;/p&gt;
&lt;p&gt;can be returned, assesses the impact of various isolation levels, and considers how best&lt;/p&gt;
&lt;p&gt;the defensive programmer can defend data integrity, while minimizing deadlocks.&lt;/p&gt;
&lt;p&gt;Ch. 10: Developing Modifications that Survive Concurrency&lt;/p&gt;
&lt;p&gt;Just like queries, modifications that work perfectly well in the isolated world of the&lt;/p&gt;
&lt;p&gt;test database, can suddenly start misbehaving intermittently when run in a production&lt;/p&gt;
&lt;p&gt;environment under conditions of concurrent access. The chapter covers some of the&lt;/p&gt;
&lt;p&gt;problems that might occur when &amp;quot;competing&amp;quot; connections try to simultaneously update&lt;/p&gt;
&lt;p&gt;the same data, and how to avoid them:&lt;/p&gt;
&lt;p&gt;• lost modifications, a.k.a. lost updates – such problems occur when modifications&lt;/p&gt;
&lt;p&gt;performed by one connection are overwritten by another; they typically occur&lt;/p&gt;
&lt;p&gt;silently, and no errors are raised.&lt;/p&gt;
&lt;p&gt;• resource contention errors – such as deadlocks and lock timeouts&lt;/p&gt;
&lt;p&gt;• primary key and unique constraint violations – such problems occur when&lt;/p&gt;
&lt;p&gt;different modifications attempt to insert one and the same row.&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26278</link><pubDate>Fri, 18 Jun 2010 21:45:05 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26278</guid><dc:creator>Sankar Reddy</dc:creator><description>&lt;p&gt;Thanks Alex. I will get my copy then. Your work has been invaluable to the community. Great Job.&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26280</link><pubDate>Sat, 19 Jun 2010 02:01:13 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26280</guid><dc:creator>Alejandro Mesa</dc:creator><description>&lt;p&gt;Alex,&lt;/p&gt;
&lt;p&gt;Congratulations on finishing your book!!!&lt;/p&gt;
&lt;p&gt;I already ordered a copy, and I am sure I will enjoy reading it.&lt;/p&gt;
&lt;p&gt;AMB&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26281</link><pubDate>Sat, 19 Jun 2010 04:25:28 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26281</guid><dc:creator>James Luetkehoelter</dc:creator><description>&lt;p&gt;Gratz! Having been through the process I know what a feat it is getting something published - looking forward to it!&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26284</link><pubDate>Sat, 19 Jun 2010 11:22:49 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26284</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;Congrats, Alex! I can't wait to check it out.&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26312</link><pubDate>Mon, 21 Jun 2010 02:27:31 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26312</guid><dc:creator>Aaron Bertrand</dc:creator><description>&lt;p&gt;Thanks Alex! &amp;nbsp;Just ordered my print copy.&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26317</link><pubDate>Mon, 21 Jun 2010 12:11:05 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26317</guid><dc:creator>Alexander Kuznetsov</dc:creator><description>&lt;p&gt;Thanks, Sankar, Alejandro, James, Adam, and Aaron!&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26329</link><pubDate>Mon, 21 Jun 2010 19:04:47 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26329</guid><dc:creator>Piotr Rodak</dc:creator><description>&lt;p&gt;Hey Alex, congrats on finishing the book, great job!&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26360</link><pubDate>Tue, 22 Jun 2010 13:45:53 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26360</guid><dc:creator>Alexander Kuznetsov</dc:creator><description>&lt;p&gt;Thank you, Piotr!&lt;/p&gt;
</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26408</link><pubDate>Wed, 23 Jun 2010 17:20:30 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26408</guid><dc:creator>AaronBertrand</dc:creator><description>&lt;p&gt;Received today. &amp;nbsp;Flattered to have been mentioned in the acknowledgments. &amp;nbsp;Thanks Alex!&lt;/p&gt;</description></item><item><title>re: My book is complete, many thanks to Hugo, Tony, and many others!</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2010/06/18/my-book-is-complete-many-thanks-to-hugo-tony-and-many-others.aspx#26518</link><pubDate>Mon, 28 Jun 2010 15:15:45 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:26518</guid><dc:creator>Madhivanan</dc:creator><description>&lt;p&gt;Congratulations Alex&lt;/p&gt;
</description></item></channel></rss>