SQL Server Profiler

  • 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.

  • Paula

    You need to look up BOL and try it yourself. Then if you come up with issues come back to us.

    "Keep Trying"

  • 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

  • You can also add a filter based on Application Name to limit the results futher

  • 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.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply