代码改变世界

随笔档案-2021年01月

sqlserver查询数据库中包含某个字段的所有表和所有存储过程

2021-01-15 22:00 by bgbing, 318 阅读, 收藏, 编辑
摘要: 1、查询包含某字段的所有表 1 2 3 4 5 6 select object_name(id) objName,Name as colName from syscolumns where (name like'%你要查询的字段名%') and id in(select id from sysobj 阅读全文
点击右上角即可分享
微信分享提示