Connecting Tech Pros Worldwide Help | Site Map

Using a Trigger to determine when a column was changed

  #1  
Old August 5th, 2008, 06:05 PM
Alex
Guest
 
Posts: n/a
Hi,

I'm new to Triggers, so forgive the elementary question. We have a
process that saves data from a VB2005 form into a table in MS SQL
2005, and it saves all data whether the user changed the value or
not. Is it possible to create a trigger for this table where a log
can be written to if a value is updated with different data? Since
technically all data in the table is being updated I wasn't sure if a
trigger could distinguish between data that didn't change and data
that did.

Thanks --

Alex
  #2  
Old August 5th, 2008, 08:05 PM
--CELKO--
Guest
 
Posts: n/a

re: Using a Trigger to determine when a column was changed


>Is it possible to create a trigger for this table where a log can be written to if a value is updated with different data? <<

Read this before you make this design error and get in trouble with
the auditors:

http://www.tdan.com/view-special-features/8135
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 04:15 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 11:37 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 09:56 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 13th, 2005 03:15 AM