How will u find the query which is running in some other
machine

Answers were Sorted based on User's Feedback



How will u find the query which is running in some other machine..

Answer / baabhu

sp_who2 followed by DBCC inputbuffer(SPID) will give you
the answer.

Is This Answer Correct ?    4 Yes 0 No

How will u find the query which is running in some other machine..

Answer / krishna thamisetty

Using SQL Profiler
You can find this tool
Start Menu\Programs\Microsoft SQL Server 2005\Performance
Tools\SQL Server Profiler

Is This Answer Correct ?    2 Yes 0 No

How will u find the query which is running in some other machine..

Answer / yogesh

Start Menu\Programs\Microsoft SQL Server 2005\Performance
Tools\SQL Server Profiler\newtrace

Is This Answer Correct ?    1 Yes 0 No

How will u find the query which is running in some other machine..

Answer / udhaya

with help of profiler we can find then hostname.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

query processing

0 Answers  


Is SET a SQL Keyword?

4 Answers   BitWise,


What is triggers and its types?

0 Answers  


How can I change procedure name in sql server?

0 Answers  


What is the difference between dataadapter and datareader?

0 Answers  






What is public role in sql server?

0 Answers  


How does clustered and non clustered index work?

0 Answers  


Do you know what guidelines should be followed to help minimize deadlocks?

0 Answers  


What is the disadvantage of using subquery exact after a select statement?ex. select (select * from sometable)

1 Answers  


What is NOT NULL Constraint in sql server 2012?

0 Answers   CDC,


What is RMS migrations?

0 Answers   Satyam,


How to create prepared statements using odbc_prepare()?

0 Answers  


Categories