<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.developerdotstar.com/community" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>developer.* Blogs - Using an INSTEAD OF DELETE Trigger to Prevent Row Deletions - Comments</title>
 <link>http://www.developerdotstar.com/community/node/436</link>
 <description>Comments for &quot;Using an INSTEAD OF DELETE Trigger to Prevent Row Deletions&quot;</description>
 <language>en</language>
<item>
 <title>Source of row loss</title>
 <link>http://www.developerdotstar.com/community/node/436#comment-3806</link>
 <description>&lt;p&gt;If you open an ADO recordset on a view or select that includes the table, any deletion can result in a cascaded delete on joined tables, even if the view is &quot;not updateable&quot;. Try it in Enterprise Manager. MS access also does this with linked tables.&lt;/p&gt;
</description>
 <pubDate>Tue, 23 Jan 2007 12:23:48 -0800</pubDate>
 <dc:creator>aroggeband</dc:creator>
 <guid isPermaLink="false">comment 3806 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>thanks</title>
 <link>http://www.developerdotstar.com/community/node/436#comment-1550</link>
 <description>&lt;p&gt;just exactly what i&#039;m looking for.  very, very useful info.  not really easy to find it in the db docs&lt;/p&gt;
</description>
 <pubDate>Sat, 30 Sep 2006 08:26:21 -0700</pubDate>
 <dc:creator>Guest</dc:creator>
 <guid isPermaLink="false">comment 1550 at http://www.developerdotstar.com/community</guid>
</item>
<item>
 <title>Using an INSTEAD OF DELETE Trigger to Prevent Row Deletions</title>
 <link>http://www.developerdotstar.com/community/node/436</link>
 <description>&lt;p&gt;One of my clients had a table that has been mysteriously losing rows. This is a table that does not have any official applications written to delete rows from it, and rows should never be deleted from it. No one can figure out how the missing rows are being deleted. So I added an INSTEAD OF DELETE trigger that raises an error if someone tries to delete a row. It seems to work great.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.developerdotstar.com/community/node/436&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.developerdotstar.com/community/node/436#comment</comments>
 <category domain="http://www.developerdotstar.com/community/taxonomy/term/30">Microsoft SQL Server</category>
 <pubDate>Fri, 03 Mar 2006 16:38:08 -0800</pubDate>
 <dc:creator>Daniel Read</dc:creator>
 <guid isPermaLink="false">436 at http://www.developerdotstar.com/community</guid>
</item>
</channel>
</rss>
