/ Published in: SQL
Search SQL Server or Oracle database for keyword embedded within stored procedures, functions, triggers, etc.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Oracle: SELECT TYPE, name, line FROM user_source -- or dba_source, or all_source WHERE UPPER(text) LIKE UPPER('%keyword%'); SQL Server: SELECT object_name(id) FROM syscomments WHERE UPPER(text) LIKE UPPER('%keyword%');