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...

Diff bet.. Function and Trigger?

Answer Posted / purushotham

PL/SQL has two types of sub programs
Function and Procedures.
A Trigger is a stored procedure which is implictly called
by the oracle engine when an DML action is performed.
Trigger consists of three parts
A trigger statement
A trigger restriction
and the triggering action

Functions are different from procedures as
functions return value whereas procedure doesnt
To carry out set of tasks a certain pl/sql statements are
grouped in a procedure.
After performing some tasks and returns the result(function)
functions are written explicitly by the user.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of setFetchSize() and setMaxRows() methods in Statement?

996


What are JDBC Best Practices?

1108


What is a merge field?

932


How the JDBC application works?

950


How to check jdbc driver version in sql server?

968


When do we get java.sql.SQLException: No suitable driver found?

965


What is an odbc driver?

911


Give steps to connect to the db using jdbc?

1015


java based application for hospital management

3827


What is a statement?

1014


What are the ddl statements?

853


What causes the "No suitable driver" error?

1058


Name the method, which is used to prepare a callablestatement.

910


What is jdbc template?

964


What are the different types of JDBC drivers?

1060