The following Query gives list of all the User Tables and locking scheme of the Table.
select "Table"=left(name,32), "lock_scheme"= case
when (sysstat2 & 57344) < 8193 then 'APL'
when (sysstat2 & 57344) = 16384 then 'DPL'
when (sysstat2 & 57344) = 32768 then 'DRL'
end
from sysobjects
where type='U'
order by sysstat2
No comments:
Post a Comment