Trigger
1)Trigger gets automatically executed when insert update or delete is fired on a table.
2) we can't schedule a trigger
3)we can't call a trigger from front end files.
4)we can't pass the parameters as an input to a trigger.
5)within a function you cannot call a trigger
Functions
1)Function is a named pl/sql block which is stored in database..
2). We can invoke by calling the name of the function whenever we need.
3)Function return atleast one value
4)Cannot have transaction within function
5)Cannot be used with XML FOR clause
Varung, if this helps please login to Mark As Answer. | Alert Moderator