what is difference between procedure and function,
procedure and trigger?

Answer Posted / qx1789

he major difference to keep in mind is that trigger code is hard-parsed every time the trigger runs. You should therefore code all of your trigger actions in stored procedures (preferably implemented in packages, per good programming practice), and limit the trigger body to a PL/SQL block that just invokes the procedure. Learn sql from https://www.youtube.com/watch?v=7Vtl2WggqOg

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many unique keys can a table have?

738


How many tables can a sql database have?

704


What are the types of keys?

667


What are pl/sql cursors?

726


Are stored procedures faster than queries?

685






Explain two easy sql optimizations.

765


Is sql dba a good career? : SQL DBA

703


What is nosql vs sql?

862


What is consistency?

881


define sql insert statement ? : Sql dba

740


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

710


How do you modify a column in sql?

721


How to convert comma separated string to array in pl/sql?

803


How to look at the current sql*plus system settings?

758


how can we optimize or increase the speed of a mysql select query? : Sql dba

684