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 to define a variable to match a table column data type?

978


What are set operators?

1074


What are internal user account in oracle?

996


What is tns service name?

1120


What is the recommended interval at which to run statspack snapshots, and why?

2910


Is oracle an operator?

921


How to download oracle database 10g xe?

1011


What happens to the current transaction if the session is killed?

979


How do I connect to oracle?

1027


what are bitmap indexes? How does they work?

2232


How to insert a record into a table?

1064


How to speed up webrick?

1069


How to Truncate Table in Oracle

1148


What are the tools for Oracle ?

1053


how to handle exceptions in post production

1414