How do you tell which database the query is running against

Apr 7, 2014 at 4:51 PM
I have several databases and my application can dynamically switch between databases depending on the user logged in.

I see the queries coming in, but how do you tell which database it is running against (because they are all the same schema, but different data).

Is there a way to tell it only to log queries against a specific database?
Apr 7, 2014 at 4:54 PM
Nevermind, I just found the answer.

I clicked "Run with Filters" and found the database name filter.

A link to Filters under the Edit menu would be great.

Marked as answer by leisenstein on 4/7/2014 at 8:54 AM
Apr 7, 2014 at 6:04 PM
menu->File->Start trace->Run with filers?
Aug 28, 2014 at 9:44 AM
I'd like to suggest adding a screenshot of the "Run with filters" option (and the Trace properties dialog that follows) to the Documentation. It's the only thing that's not self-explanatory, and a bit hidden.