时间:2021-07-01 10:21:17 帮助过:64人阅读
方法二)
SELECT ROUTINE_NAME, ROUTINE_DEFINITION FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_DEFINITION LIKE ‘%aaaabbbb%‘ AND ROUTINE_TYPE=‘PROCEDURE‘
返回所有出现过该字符串的存储过程名:
name | |
1 | proc_PaperCopyTo |
2 | proc_PaperSaveAs |
3 | proc_SaveAsTemp |
sql在所有存储过程中查询包含某字符串的执行语句
标签:sele for rom proc idt bbb copyto efi ble