Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find out tables with row level locking in a database

Status
Not open for further replies.

sybaseguru

Instructor
Feb 20, 2003
324
GB
In order to find out which tables have row level locking in a database you can try the following:

use <DATABASE>
go
select name from sysobjects where type = 'U'
and sysstat2 & 57344 = 32768
order by name
go

Note that values sysstat2 & 57344 =0 or 8192 refer to all pages locks and 16384 is data pages locks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top