查询某字段在哪些表里select [name] from[数据库].[dbo].sysobjects where id in (select idfrom [数据库].[dbo].[syscolumns] where name='字段名')