"Marco Dieckhoff" <di***@gmx.de> wrote in message
news:bj**********@rzcomm2.rz.tu-bs.de...
Hi!
In order to debug a program written for us I'd like to log all
queries to a database/a specific table in MS SQL Server 2000.
Are there any options to get a logging like this and how do I
enable it?
--
Marco Dieckhoff
icq# 22243433
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys
You can use Profiler, and set a filter for the tables/databases that you're
interested in. You can either run the trace from the Profiler GUI, or by
creating a server-side trace with the sp_trace% procs. There is plenty of
information on this in Books Online.
Simon