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

2023年 4月 29日 60.0k 0

数据库查询哪个对像里面包含什么字段语句写法 : 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

表名换成需要查的表名

相关文章

Oracle如何使用授予和撤销权限的语法和示例
Awesome Project: 探索 MatrixOrigin 云原生分布式数据库
下载丨66页PDF,云和恩墨技术通讯(2024年7月刊)
社区版oceanbase安装
Oracle 导出CSV工具-sqluldr2
ETL数据集成丨快速将MySQL数据迁移至Doris数据库

发布评论