查詢包含某字段的所有表
select object_name(id) objName,Name as colName
from syscolumns
where (name like'%你要查詢的字段名%')
and id in(select id from sysobjects where xtype='u')
order by objname