what is the difference between procedure and function
Answers were Sorted based on User's Feedback
Answer / srinivas
Function returns only one value, whereas procedure returns
multiple values.
Function can be used in SQL queries whereas we can't use
procedures.
I think in procedures values by reference is not possible.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / venki_discussions
procedure perform one or more actions it may return or may
not return values if u want to return procedure ill return
multiple values.we can use procedures in oracel apps also
function perform one or more actions and it must return any
value multiple values will not return function.functions
we cant use in oracle apps.we can perform functions on SQL
prompt itslef.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / chalam
Function will return only 1 value where as the procedures
will return values or may not be return.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / allabakash
function and procedure both are stored procedures
function contains return clause,where as procedure does not contain return clause
function must return a value, where as procedure may or may not return a value
function can execute as a select statement, where as procedure can execute in anonymous block
we can call function in if statement, we cannot call procedure in if statement
we can call function as a part of expression,where as procedure as a statement
we can pass function as a parameter,where as we cannot pass procedure as a parameter.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is meant by bind parameter?
How to link between inventory and OrderManagement.
Is it is necessary to create P_CONC_REQUEST_ID parameter in the development of oracle apps reports
PL/SQL stored procedure parameters?
Suppose for report I have to parameters those are from_date and to_date, so to_date should be greater when compare to from_date, if we are giving to_date is lessthen it must shows some error how we will make?
wht r the basetables of customer interface?
List of all the modules under Manufacturing, Finance and Distribution in oracle applications?
pls send me out bound code of supplers,site,bankiformation code pls as soon as
What repots or concurrent program run to transfer data from Inventory to GL.
in one report using two layout models.if yes how to do
Is PlaceHolderColumn Function or Procedure? Why we don't write any code in that?
What is the link between AP and GL in oracle apps R/12?
4 Answers Bosch, Collabera, Synechron,