可用如下语句:
use 库名
select distinct t1.name from sysobjects t1,syscolumns t2 where t1.id=t2.id and t2.name like '%name%'
结果如图,显示的就是包含name这个字符串的表名
use databasename
select distinct t1.name from sysobjects t1,syscolumns t2
where t1.id=t2.id and t2.name like '%name%'