difference between procedures and function?

Answer Posted / nageswararao.k

procedures and functions are subprograms but triggre is not
a subprogram.
procedure:--once we create a procedure we can use that
procedure from any pl/sql block and any front end
application like java,.net applications.no need to execute
every time.
function:----using function ,we can reuse the code and
passed values though perameteres from calling function to
declared function.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is SQL Tuning Advisor in Oracle?

849


What is meant by raw datatype?

777


How to convert a string to a date in oracle database?

766


Difference between cartesian join and cross join?

749


Is the After report trigger fired if the report execution fails ?

2670


Can the query output be sorted by multiple columns in oracle?

735


How to assign a tablespace to a users in oracle?

770


i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)

1968


Can we call procedure inside function in oracle?

791


Explain about your project and its relation to the current job position you are applying to?

751


What does sharding mean?

758


How to call a stored function in oracle?

736


How would you begin to troubleshoot an ORA-3113 error?

1814


Are truncate and delete commands same? If so why?

817


Explain compound trigger in oracle?

745