adspace


What is the command used to check locks in microsoft sql server?

Answer Posted / Rinku Rani

The SP_WHO2 or DBCC INPUTBUFFER command can be used to check locks in Microsoft SQL Server. The SP_WHO2 command displays information about all active processes, including those that hold locks on resources. The DBCC INPUTBUFFER command provides the text of the last executed command by a process holding a lock.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How raid can influence database performance?

1119


When should you use an instead of trigger?

1054


Why we use the openxml clause?

1080


What are the properties of the transaction?

1074


Explain system functions or built-in functions? What are different types of system functions?

1067


What is clustered index

1087


What is sql or structured query language?

1228


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1134


What is normalization and what are the advantages of it?

1057


Can we do dml on views?

1039


What are the kinds of subquery?

1109


Is it possible to have clustered index on separate drive from original table location?

1041


What is the difference between upgrade and migration in sql server?

1185


How can we solve concurrency problems?

1123


Why use identity in sql server?

1202