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.
| Author |
Topic |
|
SQLNOVICE999
Yak Posting Veteran
62 Posts |
Posted - 2011-10-27 : 13:11:35
|
| This is a script to find out what and who is running queries currently...Select spid,hostname,program_name,nt_username,loginame,cmd, t.text from sys.sysprocessesCROSS APPLY( select text from sys.dm_exec_sql_text(sql_handle))t Is there something to find out all the queries that ran with USER logins in the past... I am using SQL 2008.THanks,Laura. |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
|
|
|