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

What is the command used to recompile the stored procedure at run time?

0 Answers  


What is the Control Flow in SSIS

0 Answers   HCL,


What are the steps you will take to improve the performance of a poor performing query?

0 Answers  


What is sql server english query?

0 Answers  


what is the information that can be stored inside a bit column? : Sql server database administration

0 Answers  






How can you transfer data from a text file to a database table? Or how can you export data from a table to a comma delimited (csv) file? Or how can you import data from ms access to a table in a database? Or how can you export data from a table to an excel file?

0 Answers  


What are page splits?

0 Answers  


find the 3rd max salary

10 Answers  


difference between Clustered index and non clustered index ?

0 Answers   Infosys,


What are the advantages of using a stored procedure?

0 Answers  


Can store procedure call by user define function in SQL server?

10 Answers   HCL,


What is xml datatype?

0 Answers  


Categories