Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

difference between procedures and function?

Answer Posted / nageswararao.k

procedure and functions both are subprogrames.but trigger
is not a subprogram
procedure:--a procedure is created to perform one or more
DML operations.if we create procedure,then we can call the
procedure from any frontend application and any pl/sql
block.
procedures may or may not return a value .
we can not call procedure from select statement.
in procedure the out perameter return a value.


function:-the functions are created to do calculatiions and
computations.
function access some input and perform a task and must
return a value.the value return by return statement.
we can call the function from select statement.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?

1083


How many types of table in Oracle?

1169


What is a sub query and what are the different types of subqueries?

1171


How to create an oracle database manually?

1125


What is blob data type in oracle?

1203


How to add a new column to an existing table in oracle?

1186


How to call a sub procedure?

1144


What is a user role in oracle?

1182


What is the data type of dual table?

1061


Explain database link?

1168


How to estimate disk space needed for an export job?

1102


What is data block in Oracle?

1148


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

1092


How to use "in" parameter properly?

1115


How do I limit the number of oracle database connections generated by weblogic server?

1113