
So, if you are not a sysadmin, you can't run Profiler, in SQL Server 2005 this limitation has been removed.
Is there a workaround ?
By default Local Administrators are members of sysadmin role so you can run profiler.exe with MyRunAs (see MyProjects on http://www.vittorio.tk .
If you also want to limitate the tracing to a specific DB (e.g. DB0001) you can use this sintax:
cmd /c profiler /Slocalhost /DDB0001 /E /TTraceDB0001.tdf
0 commenti:
Post a Comment