侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

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

2024-05-06 星期一 / 0 评论 / 0 点赞 / 61 阅读 / 566 字

数据库查询哪个对像里面包含什么字段语句写法:select *from sysobjects o, syscomments swhere o.id = s.idand text like '%text%'and o.xty

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

select *from sysobjects o, syscomments swhere o.id = s.idand 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

表名换成需要查的表名

广告 广告

评论区