Solved

Parse

Posted on 2016-11-15
5
35 Views
Last Modified: 2016-11-17
Thanks
0
Comment
Question by:gs79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 250 total points
ID: 41888534
you can search for object dependencies with

select * from dba_dependencies where referenced_name = 'UTL_MAIL'

or, if you want to read the code

select * from dba_source where upper(text)  like '%UTL_MAIL%'
0
 
LVL 32

Assisted Solution

by:awking00
awking00 earned 250 total points
ID: 41888556
Something along the following lines might do it -
declare
v_sql varchar2(255);
v_name varchar2(30);
begin
for o in
(select distinct object_name name
 from dba_objects
 where object_type in
 ('FUNCTION','PROCEDURE','PACKAGE BODY')
 and status = 'VALID'
)
loop
v_sql := 'select '||o.name||' from da_source where text like ''%utl_smpt%'' ';
execute immediate v_sql into v_name;
dbms_output.put_line(v_name);
end loop;
end;
/
You will probably need to add some other filters to the select statement to eliminate unwanted or unnecessary objects (e.g where owner = 'SYSTEM').
0
 
LVL 32

Expert Comment

by:awking00
ID: 41888559
Typo - da_source should be dba_source
0
 

Author Comment

by:gs79
ID: 41888995
ok..i had figured out the solution which was by querying all source table.I wanted to delete it since since the tool gives an option to delete before any response is posted. Since i didnt find that optionni thought mods would come along and delete it. Anyway since its been answered, i will award the points.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question