如何查询包含某列的所有表?

包含某列的所有表

1
2
3
4
--包含某列的所有表
select a.[name] 表名 from sysobjects a,(select [id],count(*) b from syscolumns where [name] ='cxxbj' group by [id])b where a.[id]=b.[id]