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

Why hibernate is better than jdbc?

934


Which is better odbc or jdbc?

1000


What is the feature of jdbc v4?

1149


Describe how the jdbc application works.

1030


Write an sql to find all records having all upper case alphanumeric characters in a field ?

948


Describe odbc?

978


What is getconnection method in java?

935


What are the different types of interfaces in the api component?

987


Explain the steps in writing a java program using jdbc?

941


Explain how to make updates to the updatable resultsets.

924


What are the differences between statement and preparedstatement interface?

988


Why do we use jdbc?

1015


What is metadata in programming?

1003


What are common JDBC Exceptions?

982


What types of DataSource objects are specified in the Optional Package?

1011