select tab.name table_name, col.name column_name
from sysobjects tab
left join syscolumns col on tab.id = col.id and tab.xtype = 'U'
where col.name like '%字段名%'
order by 1,2
SQL SERVER中查找某个字段位于哪些表
原创人称左直拳 博主文章分类:sql server ©著作权
©著作权归作者所有:来自51CTO博客作者人称左直拳的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:简单的文件上传代码
下一篇:SMTP 550错误
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
java stream 某个字段去重排序
java stream 某个字段去重排序
java List 字段 -
MySQL查询某个字段含有字母数字的值
MySQL如何查询某个字段含有字母数字的值。
MySQL 字符串 正则表达式