Difference between triggers and procedures?
Answers were Sorted based on User's Feedback
Answer / kiran kumar
Triggers:
--------
1)Defined with create trigger
2)The data dictionary contains source code in the user_triggers.
3)Implicitly invoked
4)Commit, save point and rollback are not allowed(TCL)
Procedures:
-----------
1)Defined with create procedure
2)Data dictionary contains source code in user_source
3)Explicitly invoked
4)Those are allowed
Note: compare both ones with numbers mentioned..
Is This Answer Correct ? | 19 Yes | 6 No |
Answer / suresh.somayajula
1. Triggers are implicitly invoked but
procedures are explicitly invoked.
2. in Triggers TCL commands are not allowed.
TCL commands are allowed in Procedures.
Is This Answer Correct ? | 15 Yes | 4 No |
Can u attach Request set with in the Request set?
API?s FOR CUSTOMER INTERFACE? Tell me some API's?
what is the database size you used?
wht is difference between is and as varibales,while declaring procedure which is better?
what is meant by lexical parameter
How to retry multiple errored workflow processes? What is the access level in workflow used for? How do you define start and end functions in workflow? How does they differ from normal functions? Give me some workflow tables? What is the difference between a function and notification in workflow? I have sent two different notifications to two different users and I want to wait till both they are approved to send 3rd notification. How can you achieve it? What is item type and item key in workflow? How do you use attribute values in workflow messages? How do you use lookups in workflow? What are roles in workflow and how they are used? How do you download or upload a workflow from a server? What are steps to customize the workflow? What functions can you perform from workflow administrator responsibility? To send an email to the user workflow notification is the only way or is there any other ways to send it? Give me some workflow standard procedures? How can you run/start/kickoff workflow? What is wf_engine package used for? How many processes can each workflow contain? What is Runnable option in workflow? At what level it exists? What are different types of attributes in workflow? How do you reassign a notification? What is process in workflow? How can you send direct oracle form link through workflow notifications? How can you send a notification to multiple users? Can you change the list dynamically? Can you send html code in workflow notification? I have sent two different notifications to two different users and I want to wait till atleast one is approved to send 3rd notification. How can you achieve it?
what is the data type of lexical parameter?
what are the default arguments for pl/sql program?
In which table or database definition we can find the link of organization and operation units.
wheather discard file is automatically created or explicty created?can u mention it?
Oder of firing triggers in form
what is the difference between po_vendors & po_headers_all? does po_vendors relate to opeating unit?