[Tutorial] Log queries using SQL Profiler

05/08/2012 14:48 Zombe#1
Because the A9 was leaked, I figured it would come useful for people to figure out how the server communicates with the db, since the new db structure is probably a lot different.

It's quite easy, first start up SQL Profiler, it comes with MSSQL 2000.
Select new trace, select your server, login to it.
Go to events tab, add Objects, Stored procedures and TSQL, keep Sessions and Security Audit in there.
Click Run, you should see your trace started.

To test it, go to Query Analyzer and run some query, you should see it come up on your trace.

You can use this to compare the A2 and A9 server queries, this will help a lot with upgrading the current db.
05/08/2012 20:48 guesswho-.-#2
thank you zomberd :D
05/09/2012 01:25 Zektor#3
Quote:
Originally Posted by Zombe View Post
Because the A9 was leaked, I figured it would come useful for people to figure out how the server communicates with the db, since the new db structure is probably a lot different.

It's quite easy, first start up SQL Profiler, it comes with MSSQL 2000.
Select new trace, select your server, login to it.
Go to events tab, add Objects, Stored procedures and TSQL, keep Sessions and Security Audit in there.
Click Run, you should see your trace started.

To test it, go to Query Analyzer and run some query, you should see it come up on your trace.

You can use this to compare the A2 and A9 server queries, this will help a lot with upgrading the current db.
I remember seeing a thread similar to this posted by Janvier. Could have just bumped that one.
05/09/2012 06:33 janvier123#4
[Only registered and activated users can see links. Click Here To Register...]

too lazy to search :)
05/09/2012 12:29 Zombe#5
Quote:
Originally Posted by janvier123 View Post
[Only registered and activated users can see links. Click Here To Register...]

too lazy to search :)
Didn't see that. I actually searched "profiler" before posting this, didn't come up with any relevant results, you can try it. Blame the epvp search engine :P
05/09/2012 13:26 janvier123#6
i know