If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Unanswered: query sysobjects to get lock schema

Hi,

I tried to query sysobjects to determine lock schema for all user tables and system tables.
I use the bitmask 8192, 16384 and 32768 for user tables. While 16384 and 32768 for system tables. But the result was not as expected.

When I run this SQL:
select name,type,sysstat2 from sysobjects where type='S'