best way to log all sql queries?

From: <>
Date: Mon, 04 Feb 2008 22:39:24 GMT
Message-ID: <wuMpj.2904$>

We have a database where users can make ad hoc queries. I would like to be able to log all queries and dml for this database, so that we can have some insight into how the database is being used, and for performance forensics, etc.

What's the best way to do this?

Many TIA!

Mark Harrison
Pixar Animation Studios
Received on Mon Feb 04 2008 - 16:39:24 CST

Original text of this message