I am using sql trace , please tel me where i can get the value for mode of lock and type of resource.

hi,
   I am using sql trace , it has cols like mode and type , but they have numbers , is there any place where i can get the metadata of these values
yours sincerley

I have already found, but the problem is, i have to put cases to show lock in fornt of numbers , what i wanted
is if i could get this mapping any where in database like( metadata is kept) , then i have to put only join.
Q2) I have one more question in which col of the event, i can have lock request status , like weather it is 
granted or wait.
yours sincerly
Q1. You can create a table from the data in the link that
Ashwin Menon posted, and use simple JOIN in order to replace the numbers with the Mode
Q2. Please check this great blog:
http://aboutsqlserver.com/2011/05/26/locking-in-microsoft-sql-server-part-4-how-to-detect-blocking/
  Ronen Ariely
 [Personal Site]    [Blog]    [Facebook]

Similar Messages

Maybe you are looking for