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

Tell me the use of keyword with encryption. Create a store procedure with encryption?

1003


What is lookup override?

1022


What is sql stored procedure?

1084


What functions can a view be used to performed?

1056


Explain the various types of concurrency problem?

1178


How do you create a data source?

904


Explain database normalization?

1214


What are commonly used odbc functions in php?

1012


What is key set driven?

950


What is equi join with example?

1116


How to remove duplicate rows from table except one?

1002


What is user-defined function? Explain its types i.e. Scalar and inline table value user-defined function?

898


What command is used to delete a table from the database in the sql server and how?

1110


Why use view instead of a table?

949


What are null values in ms sql server?

1080