<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Life is grand - Latest Comments in Testing both ways</title><link>http://lifeisgrand.disqus.com/</link><description></description><language>en</language><lastBuildDate>Thu, 13 Apr 2006 09:20:00 -0000</lastBuildDate><item><title>Re: Testing both ways</title><link>http://paulmwatson.com/journal/2006/04/11/testing-both-ways/#comment-1280290</link><description>Good point Steve.&lt;br&gt;&lt;br&gt;I think though throwing an exception when no rows were affected gives better information to the caller than just silently continuining as if a row was affected. The caller can then choose what to do with that info.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Watson</dc:creator><pubDate>Thu, 13 Apr 2006 09:20:00 -0000</pubDate></item><item><title>Re: Testing both ways</title><link>http://paulmwatson.com/journal/2006/04/11/testing-both-ways/#comment-1280289</link><description>You make a good point but your example raises an interesting question.&lt;br&gt;&lt;br&gt;If you request deletion of ID n then the successful result is that the row with ID n no longer exists after the operation.  This is the case if ID n did not exist in the first place so can it really be said to be an error if a non-existent item is deleted?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve Crane</dc:creator><pubDate>Wed, 12 Apr 2006 06:26:00 -0000</pubDate></item></channel></rss>