Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #164

Re: SSE 2008: Trigger: Modifying Data to be Written

From "Bob Barrows" <reb01501@NOSPAMyahoo.com>
Newsgroups comp.databases.ms-sqlserver, microsoft.public.sqlserver.programming
Subject Re: SSE 2008: Trigger: Modifying Data to be Written
Date 2011-04-11 18:49 -0400
Organization A noiseless patient Spider
Message-ID <io00h3$9mc$1@dont-email.me> (permalink)
References (4 earlier) <s9c2q6db63sck7oq2cn3au9bmlqs2lr83m@4ax.com> <ins9ba$e16$1@dont-email.me> <snb6q69jo8i45jmmjaaedjmmii4fgkan64@4ax.com> <inviv0$588$1@dont-email.me> <jpt6q61sku2c3asflu0lteo8nlu5m0o06t@4ax.com>

Cross-posted to 2 groups.

Show all headers | View raw


Gene Wirchenko wrote:
> On Mon, 11 Apr 2011 14:55:38 -0400, "Bob Barrows"
> <reb01501@NOyahooSPAM.com> wrote:
>
> [snip]
>
>> It is not a matter of wanting all the columns. It is a matter of
>> writing maintainable code that will not blow up just because a new
>> column is added.
>
>     Ironic.
>
>     In your scenario, if a column is added and the trigger is not
> modified, the table will not be properly updated because of the
> missing column.
>
But it will be expected. That's the difference. We will know upfront that 
the trigger has to be updated when the table's design changes. 

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

SSE 2008: Trigger: Modifying Data to be Written Gene Wirchenko <genew@ocis.net> - 2011-04-08 15:11 -0700
  Re: SSE 2008: Trigger: Modifying Data to be Written "Bob Barrows" <reb01501@NOSPAMyahoo.com> - 2011-04-08 18:44 -0400
    Re: SSE 2008: Trigger: Modifying Data to be Written Gene Wirchenko <genew@ocis.net> - 2011-04-08 16:23 -0700
      Re: SSE 2008: Trigger: Modifying Data to be Written Erland Sommarskog <esquel@sommarskog.se> - 2011-04-09 11:22 +0200
        Re: SSE 2008: Trigger: Modifying Data to be Written Gene Wirchenko <genew@ocis.net> - 2011-04-09 21:29 -0700
          Re: SSE 2008: Trigger: Modifying Data to be Written Erland Sommarskog <esquel@sommarskog.se> - 2011-04-10 14:48 +0200
            Re: SSE 2008: Trigger: Modifying Data to be Written Gene Wirchenko <genew@ocis.net> - 2011-04-11 09:46 -0700
          Re: SSE 2008: Trigger: Modifying Data to be Written "Bob Barrows" <reb01501@NOSPAMyahoo.com> - 2011-04-10 08:54 -0400
            Re: SSE 2008: Trigger: Modifying Data to be Written Erland Sommarskog <esquel@sommarskog.se> - 2011-04-10 21:33 +0200
            Re: SSE 2008: Trigger: Modifying Data to be Written Gene Wirchenko <genew@ocis.net> - 2011-04-11 09:42 -0700
              Re: SSE 2008: Trigger: Modifying Data to be Written "Bob Barrows" <reb01501@NOyahooSPAM.com> - 2011-04-11 14:55 -0400
                Re: SSE 2008: Trigger: Modifying Data to be Written Gene Wirchenko <genew@ocis.net> - 2011-04-11 14:53 -0700
                Re: SSE 2008: Trigger: Modifying Data to be Written "Bob Barrows" <reb01501@NOSPAMyahoo.com> - 2011-04-11 18:49 -0400

csiph-web