what is the difference between trigger and storedprocedures

Answer Posted / nancy

BASIC DIFFERENCE IS trigger is automatically executed without an action required by a user where as stored procedure needs to be explicitly invoked...

a database TRIGGER ia a STORED PROCEDURE that is fired when an insert,update or deletestatements is issued against the associate table.a trigger is fired whwn database related event occurs....

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the location of pre_defined_functions.

841


How do you get column names only for a table (sql server)?

860


What is procedure in pl sql?

725


How do I find sql profiler?

683


What are the basic techniques of indexing?

782






What is dba in sql? : SQL DBA

750


What is difference between hql and native sql?

777


What is not in sql?

670


What is varray in pl sql?

766


Mention what problem one might face while writing log information to a data-base table in pl/sql?

872


Show code of a cursor for loop.

772


what is a database? : Sql dba

809


What is composite primary key in sql?

710


How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?

1160


What is sql basics?

782