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 disk migration? what is the steps involved in oracle disk migration?

709


what is the link between suppliers and banks in ap module in oracle apps? And also query?

2011


How would you go about increasing the buffer cache hit ratio?

1947


what are basic modules required to implement oracle application in any oraganisation?

1694


How would you determine what sessions are connected and what resources they are waiting for?

1606






hi iam kavya, i completed Oracle11i(finance module), i do not know how to face the interview questions please adivese me

1759


What do you mean by Oracle MEDIA RECOVERY?

719


What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode in Oracle?

640


What is Restricted Mode of Instance Startup in Oracle?

667


3. Steps in UAT?

1940


What is the meaning of "Modulus" and "Alignment" in a datafile. Data file might be from any database. Data file is created through unloading data from a table. So, while loading this data into my table, I need to use these keywords. Could any one can help me regarding this?

1587


What is db_recovery_file_dest in oracle? When do you need to set this value?

642


can u give guidance abt packages of plsql

1636


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

1902


Explain accounting for invoice in advance and arrears. : oracle accounts receivable

609