数据库查询哪个对像里面包含什么字段语句写法:
select * from sysobjects o, syscomments s where o.id = s.id and text like '%text%' and o.xtype = 'P'
text换成需要查的字段
数据库查询哪个对像里面包含表
select o.name from sys.all_sql_modules s,sysobjects o where definition like '%表名%' and o.id = s.object_id
表名换成需要查的表名
Copyright © 2019- huatuo6.cn 版权所有 赣ICP备2024042791号-9
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务