Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Old Forums
 CLOSED - General SQL Server
 Tracking the history of changes.
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hariarul
Posting Yak Master

India
160 Posts

Posted - 09/11/2006 :  03:41:28  Show Profile
Hi all,

I have several transaction tables on which I need to track the changes. That is I need to maitain
the history of changes. Only few column values are changed often.

Which is the best way for tracking the changes.

1.Store the whole record after the change ?

Or

2.Store the ColumnName & its respective old & new value ?

Or any other better.

Note : UI part & SP's will take care of the tracking & no plans for triggers.

Thanks in advance,

HHA

chiragkhabaria
Flowing Fount of Yak Knowledge

India
1907 Posts

Posted - 09/11/2006 :  03:46:23  Show Profile  Visit chiragkhabaria's Homepage  Send chiragkhabaria a Yahoo! Message
http://www.mindsdoor.net/SQLTriggers/AuditTrailTrigger.html
http://www.nigelrivett.net/SQLTriggers/Triggers_2_Creating_Audit_Trails.html

Chirag
Go to Top of Page

Kristen
Test

United Kingdom
22859 Posts

Posted - 09/11/2006 :  06:47:07  Show Profile
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=audit+changes

Kristen
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000