日期:2014-05-16  浏览次数:20444 次

查找某个字段在存在哪张表里
select a.Name as tableName from sysobjects a inner join syscolumns b on a.ID=b.ID
where b.Name='字段名'