数据库查询哪个对像里面包含什么字段方法语句

数据库查询哪个对像里面包含什么字段语句写法 : select *from sysobjects o, syscomments swhere o.id = s.idand text like ‘%text%’and o.xtype = ‘P’ text换成需要查的字段 数据库查询哪个对像里面包含表 sel

数据库查询哪个对像里面包含什么字段语句写法:

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

表名换成需要查的表名

上一篇 图文介绍mysql中:=和=的区别
下一篇 mysql定时任务(event事件)实现详解
穿过生命散发芬芳

穿过生命散发芬芳

这个人很懒,什么都没有留下~

本月创作热力图