SELECT name .
FROM sysobjects
WHERE type='U'
AND name != 'sysdiagrams'
AND replinfo = 0
但是:
http: //msdn.microsoft.com/en-us/library/ms177596.aspx 请注意 sysobjects 和 replinfo 似乎已弃用。
0=not replicated
128 = merge - table or indexed view
1=transactional - table or indexed view - log based
3=transactional - table or indexed view - log based with custom sync object
33=transactional - table or indexed view - immediate updating
35=transaction- table or indexed view - log based with custom sync object
and custom filter
129 =merge and transactional - table or indexed view
64 - procs used by immediate updating
512 - all other procsprocs, views, functions