AllExperts > Oracle 
Search      
Oracle
Volunteer
Answers to thousands of questions
 Home · More Oracle Questions · Answer Library  · Encyclopedia ·
More Oracle Answers
Question Library

Ask a question about Oracle
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Edson
Expertise
I can answer questions about Sql (including Sql tuning), pl/Sql and a bit of oracle administration

Experience
I work as a consultant in Brazil and I face problems of all kind in oracle every day development.

Education/Credentials
INFNET

 
   

You are here:  Experts > Computing/Technology > Oracle > Oracle > Call a stored procedure from a function

Oracle - Call a stored procedure from a function


Expert: Edson - 8/28/2009

Question
hi . I have written a function which calls a stored procedure. A single parameter is passed to function,from which some information are retrieved and those information is passed to the called procedure to update the tables. As the called procedure is encoded i cannot see the codes inside it. I can only see the output of that procedure in a table.

As i know function cannot perform DML statements...then how will I call the procedure.

Answer
Hi bandana.

I could not understand your question well.

What you want is to know the name of the procedure?
If so, make a select from all_dependencies, and see the dependencies of the function.

What you want is to call the procedure (?)?

Ifo so, try (if itīs the case) to use execute immediate 'begin proc_name;end;'

Wait reply.

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.