Explain the difference between a FUNCTION, PROCEDURE and
PACKAGE.

Answer Posted / deepak

Note:- procedure may or may not return value.function must
return value
Procedure return one or more value & function return only
single value.
Pakages are groups of functions,procedures,sql blocks
goruped together in a single unit.
Package & packagebody are two different thngs. Variable
defined in packages are global & they can use in anywhere
in packagebody. Variable defined in packagebody have
limited scope. & they can used in defined limit only.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the sql query to find the employee who has Nth maximum salary?

4287


Can we modify approve purchase order?if yes what is navigation?

1547


i am working with OC 4.5 i have numbers in table in 10 row with some null values please tell me how to find total? Thanks

1768


What is the use of lockboxes? Steps for lock box : oracle accounts receivable

725


while creating requisitions i am unable to see the list of organisation can anyone help me out ?

1704






how can we add a field to the oracle standard forms through Form Persanlization or custom.pll

1910


Hey i want to join oracle apps so will you pls tell me that which institute is best in hyderabad.

1846


What Are Cross Validation & Adi?

689


What is supporting issues GL AP and AR?

1987


Could you please let me know the interfaces in OM / FA??

1734


How to clone the database using RMAN back

1617


What do you mean by Oracle MEDIA RECOVERY?

725


Are These Dff's Flexible?

737


What is the difference between recovery and restoring of the oracle database?

659


What is the difference between conversions and interfaces? : oracle accounts receivable

652