Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 SQL Profiler at hidden or in loop

Author  Topic 

natishkc
Starting Member

29 Posts

Posted - 2009-03-29 : 23:57:45
Dear Giants,

Pls help me of any possibility to run the sql profiler in loop, no one should come to know about this. Whether this is possible or not.

Either pls suggest me any other option to monitor sql.




Natish

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-03-30 : 10:42:51
SQL Profiler already runs continuously while it is running, so I don't understand why you'd want a loop.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

natishkc
Starting Member

29 Posts

Posted - 2009-03-31 : 05:01:57
In my scenario, there is no SA password and if profiler is running, it can be stop able by any user through query.



Natish
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-03-31 : 05:04:22
No, SQL Profiler cannot be stopped in an easy way for users.
First they have to find out SQL Profiler is running remotely and then they have to find out trace id and which stored procedure to run to finish trace.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-03-31 : 15:39:55
I seriously doubt your users are savvy enough to stop a trace. It wouldn't take long for a DBA to figure it out. Hint, you'd need fn_trace_getinfo and sp_trace_setstatus.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

natishkc
Starting Member

29 Posts

Posted - 2009-04-01 : 02:28:38
Tara,

W'd you please explain in detail.


Not getting your point.



Natish
Go to Top of Page
   

- Advertisement -