Question
What is the difference between FUNCTION, PROCEDURE AND PACKAGE in PL/SQL?

Answers

Function: The main purpose of a PL/SQL function is generally to compute and return a single value. A function has a return type in its specification and must return a value specified in that type.
Procedure: A procedure does not have a return type and should not return any value but it can have a return statement that simply stops its execution and returns to the caller. A procedure is used to return multiple values otherwise it is generally similar to a function.
Package: A package is schema object which groups logically related PL/SQL types , items and subprograms. You can also say that it is a group of functions, procedure, variables and record type statement. It provides modularity, due to this facility it aids application development. It is used to hide information from unauthorized users.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Write very briefly the underlining functional concept of GSM and CDMA?
  • Q The Malaysian Airlines aircraft shot down in Ukraine, resulting in the death of 283 passengers and 15 crew members :
  • Q Who of the following can amend the FRs granted by the Constitution?
  • Q What are the main styles of architecture?
  • Q Who was the first lady Prime Minister in the world?
  • Q How do i tell which tables have identities in sybase?
  • Q What is an incomplete type?
  • Q What is MIME type for JSON?
  • Q Bhartiya Mahila Bank Chairman:
  • Q Name the Indian ruler who tried to promote trade with Russia, Arabia and Turkey. He also tried to set up a trading company on the lines of the East India Company.?
  • Q What is Open and close posting periods?