If its changes you are looking for try running SQL Profiler against it.
Filter for where writes > 0. Another solution would to write a script to
doing the all tables comparison. Something like
Create a table with tablename, checksumbefore, checksumafter, rowsbefore,
rowsafter, numberofrowsdiff
Write a cursor of all user tables
For each table
Get count of rows with select count(*)
calc the CHECKSUM of each row and write to individual temp tables
select count(*) from checksumafter where checksum not in checksumbefore
insert/update the table
By the end of the script you should have indentified which tables change and
by how much.
"Leo" <le*****@optushome.com.au> wrote in message
news:Xn*********************************@211.29.13 3.50...
I am trying to determine the changes an application makes to a database.
The plan is to copy the existing schema (active) to a reference schema,
run
the application and then diff the table data between the reference and the
a active schema. I have found one software vendor who has a tool to do
this, but it will only do one table at a time (interactively); I have more
then 300 and will run this a few times.
One other way of determining the changes, I guess, would be to log all sql
statements (in order), but I don't know how to do this (either).
Any pointers would be greatly appreciated.
Leo