Re: How to know which tables is updated ?

From: James Goodman (james_at_norton-associates.REMOVE.co.uk)
Date: 03/17/04


Date: Wed, 17 Mar 2004 13:13:59 +0000 (UTC)

You could use profiler to audit certain types of activity & subsequently see what activity has occured through time.

You could use triggers &/or default values to maintain a list of who & when records are added.
I generally add [Creator] & [CreationDate] fields with defaults of SUSER_SNAME() & GETDATE() respectively to any important tables...

-- 
James Goodman
MCSE MCDBA
http://www.angelfire.com/sports/f1pictures/
  "Ashish Kanoongo" <ashishk@armoursoftware.com> wrote in message news:%23xGORhBDEHA.3664@TK2MSFTNGP10.phx.gbl...
  is there way to know to which object is updated or in which tables record has entered recently?
  is there any utility in Sql Server 2000 or any kind of third party tool available ?
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.627 / Virus Database: 402 - Release Date: 03/16/2004


Relevant Pages

  • Re: Audit logging an adp
    ... Allen Browne's audit code. ... Some people may be tempted to suggest using SQL Server triggers, ... but without an adequate security model your audit trail ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Audit logging an adp
    ... if Access MDB had triggers; I would probably be using it right now lol. ... Allen Browne's audit code. ... Some people may be tempted to suggest using SQL Server triggers, ... but without an adequate security model your audit trail ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Tracking Data Changes
    ... > inserts, deletes, and updates. ... Using SQL Profiler doesn't really do what ... > I thought about using triggers and the inserted/deleted tables to move the ...
    (microsoft.public.sqlserver.programming)
  • Re: Audit
    ... The quickest option is to use Triggers. ... product like Lumigent that audits using the transaction log (and not ... > and store the audit trail in a separate table (prod_table, ...
    (microsoft.public.sqlserver.programming)
  • Re: Tracking object state for auditing
    ... the puprose of "tracking" would be to ultimately "audit" the changes ... creating triggers and the like is not ... something the "powers that be" will allow. ... > A very very simple way to track changes to data in a database is to ...
    (comp.object)