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?

Answers were Sorted based on User's Feedback



Diff bet.. Function and Trigger?..

Answer / srinivas t

Triggers: are special class of stored procedures to execute
automatically when an update,insert or statement is issued
against a table or view.
Function:Function is used to return value after performing
the tasks to the callable fucntion.

Is This Answer Correct ?    14 Yes 0 No

Diff bet.. Function and Trigger?..

Answer / 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

Diff bet.. Function and Trigger?..

Answer / dsr

Function returns the value.Trigger is not complusory return
the value.

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More JDBC Interview Questions

Why we use while rs next ())?

0 Answers  


What are the benefits of PreparedStatement over Statement?

0 Answers  


I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?

0 Answers  


What is jdbc? Describe the steps needed to execute a sql query using jdbc.

0 Answers  


How to move the cursor in scrollable resultset ?

0 Answers  


What is two-phase commit in the database?

0 Answers  


What is ojdbc?

0 Answers  


Which jdbc drivers will run your program?

0 Answers  


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

0 Answers  


Is jdbc object oriented?

0 Answers  


Is oracle client required for jdbc connection?

0 Answers  


Which type of driver is unique in jdbc?

0 Answers  


Categories