数据库查询某个对像里面包含哪些字段方法的sql语句写法:数据库查询某个对像里面包含哪些字段方法的sql语句写法: select *from sysobjects o, syscomments swhere o.id = s.idand text like '%text%'and o.xtype = 'P' text 换成需要查的字段 数据库查询哪个对像里面包含表:
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
select o.name from sys.all_sql_modules s,sysobjects o where definition like '%表名%' and o.id = s.object_id
表名换成需要查的表名
沃梦达教程
本文标题为:数据库查询某个对像里面包含哪些字段方法的sql语句


猜你喜欢
- MySQL8.0.28安装教程详细图解(windows 64位) 2023-07-26
- redis清除数据 2023-09-13
- 在阿里云CentOS 6.8上安装Redis 2023-09-12
- 搭建单机Redis缓存服务的实现 2023-07-13
- Oracle 删除大量表记录操作分析总结 2023-07-23
- Mongodb启动报错完美解决方案:about to fork child process,waiting until server is ready for connections. 2023-07-16
- SQLSERVER调用C#的代码实现 2023-07-29
- 基于Python制作一个简单的文章搜索工具 2023-07-28
- Numpy中如何创建矩阵并等间隔抽取数据 2023-07-28
- SQL Server 2022 AlwaysOn新特性之包含可用性组详解 2023-07-29