What are the difference between Functions/Stored Procs and
Triggers and where are they used.



What are the difference between Functions/Stored Procs and Triggers and where are they used...

Answer / barun

Function-1.function used for calculation perpose.it must
return value.(call by pl/sql code block,by sql query)

Procedure-it is used to implement business logic.it may or
not return value.it pre compile and stored in server data
base.so it is faster.(call by pl/sql code block_

trigger-it is used to implement business logic and maintain
intigrity.it cant take any para-meter like fun or
procedure.it is automatically fired(implicitely)

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

how to see the create table statement of an existing table? : Sql dba

0 Answers  


How many types of indexes are there in sql?

0 Answers  


What is the use of sql trace?

0 Answers  


What is sqlcommand?

0 Answers  


What is Raise_application_error ?

1 Answers  






Difference between table function and pipelined function?

0 Answers  


where are cookies actually stored on the hard disk? : Sql dba

0 Answers  


How to run sql statements with oracle sql developer?

0 Answers  


how to use case expression? : Sql dba

0 Answers  


What is rename command in sql?

0 Answers  


Why is nosql good?

0 Answers  


What are the differences between Database Trigger and Integrity constraints ?

4 Answers  


Categories