查找出关联数据库中所有包含某个字段的表的表名

来源:互联网 发布:php addslashes() 编辑:程序博客网 时间:2024/04/30 18:12

select name from sysobjects


where type='u'    and

id in(select id from syscolumns where name='ProductNo')