Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can I know what query is executing by by a particural
user? (using sp id or any othe way.)

Answer Posted / prem

DBCC INputbuffer(spid)- Displays the last statement sent
from a client to an instance of Microsoft SQL Server 2005.

First 256 characters only will be displayed.


SQL statements can also be captured by running a profiler.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the authentication mode can be changed?

1132


Why use “in” clause in sql server?

1071


What are the main sources of data?

1095


Explain filestream storage of sql server 2008?

1016


How to use group functions in the select clause in ms sql server?

1052


How does Report Builder support Analysis Services cubes?

153


Explain what is use of dbcc commands?

1058


List layers of abstraction microsoft architectured to provide relational db through cloud platform ?

183


How do you delete duplicate rows in sql server?

955


Explain an automatic checkpoint

972


Explain the etl (extraction, transformation, and loading)?

995


What are the various Operating system files that every SQL server 2005 database has and what is the purpose.

1060


How do I find query history in sql server?

942


What are parameterized reports?

200


Explain can you implement data mining in ssrs?

158