2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
-- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/monitoring/search_source.sql
-- Author : Tim Hall
-- Description : Displays a list of all code-objects that contain the specified word.
-- Requirements : Access to the ALL views.
-- Call Syntax : @search_source (text) (schema-name)
-- Last Modified: 15/07/2000
-- -----------------------------------------------------------------------------------
BREAK ON Name Skip 2
SET PAGESIZE 0
SET LINESIZE 500
SET VERIFY OFF
SPOOL Search_Source.txt
SELECT a.name "Name",
a.line "Line",
Substr(a.text,1,200) "Text"
FROM all_source a
WHERE Instr(Upper(a.text),Upper('&&1')) != 0
AND a.owner = Upper('&&2')
ORDER BY 1,2;
SPOOL OFF
SET PAGESIZE 14
SET VERIFY ON