If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Tracking who is changing what?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-09-06, 11:32
rrhandle rrhandle is offline
Registered User
 
Join Date: Dec 2001
Posts: 27
Tracking who is changing what?

We are building an inventory management system complete with BOM. It is important to track what employee is updating what tables. Currently all such tables have a Date field that is updated when a change is made, and an EmployeeID field which records the employee making the change. I am wondering if someone knows of a better way to track this information. Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 08-09-06, 12:19
cfr cfr is offline
Registered User
 
Join Date: Nov 2004
Posts: 128
I'd use Lumigents Log Explorer if I was you.
Reply With Quote
  #3 (permalink)  
Old 08-09-06, 12:51
Thrasymachus Thrasymachus is offline
Annie's Dog Walker
 
Join Date: Nov 2004
Location: at the bottom of the bottle
Posts: 8,147
Our application has History tables and triggers on the live tables that log every change to the table. 2 keys to making this work is to have date the change was made and an extra field on the history table that is an incrementing identifier.
__________________
“If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.
Reply With Quote
  #4 (permalink)  
Old 08-10-06, 00:23
rajeshpatel rajeshpatel is offline
Registered User
 
Join Date: Jan 2006
Location: India
Posts: 113
We have following Fields...

(create) user name
created date-time
(last modify) user name
(last) modify date-time
machine name

It's depend on your accuracy requirement...
__________________
Rajesh Patel

Everybody says - mistake is the first step of success, but it's not true. The correction of the mistake is the first step of success.
Reply With Quote
  #5 (permalink)  
Old 08-10-06, 14:00
Brett Kaiser Brett Kaiser is offline
Window Washer
 
Join Date: Nov 2002
Location: Jersey
Posts: 10,322
__________________
Brett
8-)

It's a Great Day for America everybody!

dbforums Yak CorralRadio 'Rita
dbForums Member List
I'm Good Once as I ever was

The physical order of data in a database has no meaning.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On