mahmood66
asked on
HOw do I track that which tables got effected after running a SQL transection
I have a using SAGE PASTEL ERP which is giving us access to its tables. I want to know when I posted any voucher or any transection. it affect or change which tables. I am using SLQ server 2005 and on other server 2008. if there anay software or any way to know this?
You could create a backup of the database, make the change and then use something like Red-Gate's SQL Data Compare to compare the differences. That is, provided all the tables have promary keys or at the every least a single unique index.
Or run a profiler in both the servers and filter with the host name with the name of the pc from which you are updating the data. Hope there is no intermediate web-service involved.
You can use SQL Server Profiler, which allows you to capture the set of statements executes when you post a voucher or any transaction.
ASKER
we are not so familiar with this profiler. can you give any example
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
solution is correct. thanks