查某个数据库中所有包含某个关键词的用户存储过程 或 用户视图
2013-02-21 16:07
405 查看
use EDW_PreSource select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.object_id = b.object_id and a.[type] in ('P','V','AF') and b.[definition] like '%your keywords%' -- db fields,dbName etc order by a.[name] asc
相关文章推荐
- 查询某台服务器下所有的数据库中包含某个关键词的存储过程 或 视图
- 还原Wss3.0内容数据库时遇到:"ComputerName\Microsoft##SSEE 上的 WSS_Content 包含用户定义的架构。数据库在能够使用之前必须为空。请删除所有表、存储过程以及其他对象,或使用其他数据库。 " 的提示,无法加载内容数据库
- 通过系统数据库获取用户所有数据库中的视图、表、存储过程
- 通过系统数据库获取用户所有数据库中的视图、表、存储过程
- 清除数据库 所有表 视图 存储过程 触发器
- ORACLE - 删除当前用户下的所有表、视图、序列、函数、存储过程、包
- 在整个数据库中查找包含某关键字的所有存储过程
- Oracle: 删除当前用户的所有对象(表、视图、存储过程、包、javasource,job)
- Oracle删除当前用户下的所有表、视图、序列、函数、存储过程、包
- Oracle: 删除当前用户的所有对象(表、视图、触发器、存储过程、函数)
- 删除数据库所有表、视图、存储过程sql
- Oracle删除当前用户下的所有表、视图、序列、函数、存储过程、包
- Oracle 删除当前用户的所有对象(表、视图、触发器、存储过程、函数)
- 原创SQlServer数据库生成简单的说明文档包含(存储过程、视图、数据库批量备份)小工具(附源码)
- Oracle删除当前用户下的所有表、视图、序列、函数、存储过程、包
- Oracle删除当前用户下的所有表、视图、序列、函数、存储过程、包
- 删除当前用户的所有对象(表、视图、触发器、存储过程、函数)
- 修改所有用户表/存储过程/视图/触发器/自定义函数的所有者为dbo,则用游标(不要理会错误提示)
- oracle使用export user objects导出所有,包括存储过程、数据库函数、视图等时,不想导出数据库表怎么办?
- SQLServer创建用户、数据库、表、约束、存储过程、视图