<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with trigger</title>
    <description>the latest stories tagged with 'trigger' from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>Super easy SQL Server 2005 Database Schema change auditing</title>
      <description>Here's a very simple way to make use of xml type in SQL Server 2005: audit all the object/schema changes to the database with a simple database-level trigger. It's like a poor man's source control for schema changes.  But also, it could come in very handy for forensic purposes when diagnosing post-rollout issues or accidental schema changes.  Anyway, it's simple and handy for what it does. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.geekdojo.net%2frichard%2farchive%2f2007%2f06%2f04%2f134600.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.geekdojo.net%2frichard%2farchive%2f2007%2f06%2f04%2f134600.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/database/Super_easy_SQL_Server_2005_Database_Schema_change_auditing</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/database/Super_easy_SQL_Server_2005_Database_Schema_change_auditing</guid>
      <pubDate>Sun, 07 Oct 2007 08:46:02 GMT</pubDate>
    </item>
    <item>
      <title>SQL Server: How to audit rollback-ed data in a trigger?</title>
      <description>The most popular method of auditing data is with an AFTER DELETE, INSERT, UPDATE trigger. 
But what happens if you have a Rollback statement in your trigger if some condition is met? 
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
More &amp;gt;&amp;lt;a href=&amp;quot;http://weblogs.sqlteam.com/mladenp/archive/2007/04/13/60174.aspx&amp;quot;&amp;gt;here&amp;lt;/a&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.sqlteam.com%2fmladenp%2farchive%2f2007%2f04%2f13%2f60174.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.sqlteam.com%2fmladenp%2farchive%2f2007%2f04%2f13%2f60174.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/database/SQL_Server_How_to_audit_rollback_ed_data_in_a_trigger</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/database/SQL_Server_How_to_audit_rollback_ed_data_in_a_trigger</guid>
      <pubDate>Fri, 13 Apr 2007 08:06:37 GMT</pubDate>
    </item>
    <item>
      <title>Using a trigger to perform mass-update-safe, specific-field calculatio</title>
      <description>You've got a table which contains some information and you want to perform calculations based on this information and store them in the same table or in another table.

The calculations must always be up-to-date.

The calculations are performed via a complex User Defined Function which accepts the other fields' values as parameters.

The table has got thousands of rows and thus you do not want to use a view because it'll degrade the overall performance.

For the same reason, you do not want to use a calculated field.

 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.dotnetzone.gr%2fcs%2fblogs%2fsfilip%2farticles%2f5384.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.dotnetzone.gr%2fcs%2fblogs%2fsfilip%2farticles%2f5384.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/database/Using_a_trigger_to_perform_mass_update_safe_specific_field_calculatio</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/database/Using_a_trigger_to_perform_mass_update_safe_specific_field_calculatio</guid>
      <pubDate>Sat, 30 Dec 2006 07:13:47 GMT</pubDate>
    </item>
    <item>
      <title>Entity Life-Cycle in NHibernate Based Application</title>
      <description>What it takes to implement good entity life-cycle in web NHibernate-based application &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2f20.targetprocess.com%2f2006%2f08%2fentity-life-cycle-in-nhibernate-based.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2f20.targetprocess.com%2f2006%2f08%2fentity-life-cycle-in-nhibernate-based.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/Entity_Life_Cycle_in_NHibernate_Based_Application</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/Entity_Life_Cycle_in_NHibernate_Based_Application</guid>
      <pubDate>Tue, 15 Aug 2006 11:01:01 GMT</pubDate>
    </item>
  </channel>
</rss>