August 14, 2009 at 12:28 am
Hello there,
I would like to be able to identify which tables and fields are being written to when I enter a transaction into my ERP System (Microsoft Great Plains).
I have been told that I can use SQL Server Profiler to accomplish this task, but am unware how to use the Profiler and how to isolate the entries I am interested in.
Thanks for any help.
August 14, 2009 at 2:32 am
Paula
You need to look up BOL and try it yourself. Then if you come up with issues come back to us.
"Keep Trying"
August 14, 2009 at 2:12 pm
1.) Open Profiler, create a new trace (the default trace template should be fine for what you are doing)
2.) Then filter for the database that you are going to query, used the db_id
3.) Start the trace
4.) Execute the command through your application
5.) Stop the trace and review the code
If it is a stored procedure you may have to do some more digging to see the actual SELECT/INSERT/UPDATE statement. Hope this helps a little
August 14, 2009 at 2:13 pm
You can also add a filter based on Application Name to limit the results futher
August 17, 2009 at 6:22 am
Take a look at this article, Introduction to SQL Server Profiler.
If you are more comfortable learning using videos you can check out the Mastering SQL Server Profiler Video Series[/url].
There is also a series of short videos on Profiler on JumstartTV.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply