What is Trigger?
Answers were Sorted based on User's Feedback
Answer / koti-khammam
Trigger is a special type of stored procedure that will
fire automatically when ever data modifications like
INSERTIONS,UPDATIONS or DELETIONS occurs on the table.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / kaushik chatterjee
A trigger is some what simillar to stored procedure. It is
written to perform a set of predefined actions when a
perticular database objecy such as tables,views are
DELETED,INSERTED,UPDATED.
Triggers are implicitly called and are NOT instactiated by
the user. Once written, it will be called automatically by
the DBMS engine when a UPDATE/DELETE/INSERT operation is
performed on the database object for which the trigger is
intended or written.
Triggers can be written for any one of the 3 operations
written above or all of them.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / pawan378
above answers are correct.
let me add some thing.
Trigger
(Pre - Trigger) is a dynamic Rule that should be done before
Data modification Happens.
or
(Post - Trigger) is a Consequent step that should be taken
as soon as the Data Happens.
| Is This Answer Correct ? | 5 Yes | 0 No |
I hav 10 records only one column 1,2,3,4,5......10 now am writing query select max(column name) Then What is The Output
what is a deadlock? : Sql server database administration
Explain some stored procedure creating best practices or guidelines?
how to select 5 to 7 rows from a table, which contains 10 rows?
What is difference between rollback immediate and with no_wait during alter database?
What is a partition key?
Stored Procedure returns data from multiple tables. How to access it in your ASP.Net code?
What happens if you are trying to access a schema not owned by you?
Security Question- SQL DBA exparts, need your help...
What is a function? Give some example?
What is a Stored Procedure?
What is a benefit of using an after insert trigger over using a before insert trigger?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)