Link to home
Start Free TrialLog in
Avatar of mahmood66
mahmood66Flag for United Arab Emirates

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?
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

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.
Avatar of mahmood66

ASKER

we are not so familiar with this profiler. can you give any example
ASKER CERTIFIED SOLUTION
Avatar of Anuj
Anuj
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
solution is correct. thanks