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 an inner join?

915


Explain what is meant by replication of database?

957


What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?

1128


What is spatial and temporal data?

931


What is dbcc command in sql server?

1019


What is the use of “join” in sql server?

1018


Tell me what do you understand by a view? What does the with check option clause for a view do?

956


How secure is sql server database?

954


What are date and time data types in ms sql server?

1018


Can we use where clause with group by?

856


what are the new features introduced in sql server 2000? : Sql server database administration

871


What are the different acid properties?

1013


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

901


What is the largest component inside a field?

1027


what is the difference between writing data to mirrored drives versus raid5 drives. : Sql server administration

911