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

Give the different types of rollback segments.

1031


What is open database communication (odbc) in oracle?

1003


List out the components of logical database structure of oracle database.

1036


What privilege is needed for a user to delete rows from tables in another schema?

1067


How do I spool to a csv formatted file using sqlplus?

1033


What is SQL access advisor in Oracle?

1189


6. Display the client name and order date for all orders using the traditional method.

2306


What is the use of file param in imp command?

1165


When system tablespace is created?

1041


What is a proxy object?

1061


How to delete a column in an existing table?

1076


How to import one table back from a dump file?

1025


how can we store any pdf file in oracle

2164


What is a cursor in oracle?

1172


How to use group functions in the select clause using oracle?

1072