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

What is difference between equi join and natural join?

1122


what is package and it uses and how can u call a package

2067


What is the cpu pressure?

1108


What does it mean to manipulate data?

1050


Write a SQL command to insert and update only a particular field?

1190


How do we know if any query is retrieving a large amount of data or very little data?

1033


What are the differences between stored procedure and the dynamic sql?

1137


What is the filtered index?

1110


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

1045


Where sql server user names and passwords are stored in sql server? : sql server database administration

1102


ow to bring suspect mode datbase online from scratch

1856


What are sub reports?

208


What is dknf in normalization form?

1111


Explain the commands in sql server?

1096


What are the main differences between #temp tables and @table variables and which one is preferred?

1134