What is a trigger?
Answers were Sorted based on User's Feedback
Answer / sathish kumar.t
Trigger is the collection of T-SQL statements, which is
activated based on certain actions. Trigger is fired, when
any of one DML statements will occur..
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / raji
Triggers are basically used to implement business rules.
Triggers is also similar to stored procedures.
The difference is that it can be activated when data is
added or edited or deleted from a table in a database.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / jerry joseph
Triggers are a special type of Stored procedure which
execute automatically when a triggering action like INSERT,
UPDATE or DELETE occurs.
INSTEAD OF trigger
- executes automatically in place of triggering actions like
INSERT, UPDATE or DELETE
- executes before PK, FK constrains are checked
AFTER trigger
- executes automatically after the statement that triggered
it completes
- executes after constrains are checked
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jerry joseph
Trigger gets executed when an INSERT UPDATE or DELETE occurs
2 types of triggers are INSTEAD OF triggers and AFTER triggers
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vimal
Trigger is a special type of store procedure.when we are going
to insert,update,delete table automatically trigger is invoked
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / subodh devarde
Triggers are special type of stored procedure which execute automatically whenever any changes are occured in table in database after using insert update ,delete command.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / channu mamane
triggers are special type of stored procedure which are
automatically invoked at the time of modifyibg tables
| Is This Answer Correct ? | 0 Yes | 1 No |
Which are the olap features?
Can I recover a damaged SQL Server 2008 database with the undamaged .mdb and .ldf files?
What is the contrast between sql and pl/sql?
What are audit control procedures?
0 Answers Ernst Young, Thomson Reuters,
What are the advantages of the mirroring?
Observed that some SP’s / Jobs are processing late, how to troubleshoot to improve performance?
What will you do If the low Performance occurs?
i want to join two queries....and i want to run them as one after another that is want output of first query then second , then again output of first query then second and so on...
How do I uninstall sql server 2014?
Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
write a query for list of owner who are having multiple bikes in below table 1 shanker pulsar 2 shanker Honda 3 shanker car 4 Balu pulsar 5 Balu Honda 6 Balu car 7 Shyam pulsar 8 Jaya Honda 9 Deepa car 10 vasu car
How to connect PK and FK?
Oracle (3259)
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)