what is trigger?
Answers were Sorted based on User's Feedback
Answer / ashish
Triggers are stored procedures created in order to enforce
integrity rules in a database. A trigger is executed every
time when database modification done.
Triggers are executed automatically on occurance of one of
the data-modification operations.
A trigger is a database object directly associated with a
particular table. It fires whenever a specific
statement/type of statement is issued against that table.
The types of statements are insert,update,delete and query
statements.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / dsr
trigger is like as procedure.this procedure will call at
some events occuring.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / abhisek pattnaik
Trigger is a type of programme which is automatically
executed when ever a DML operation is made on a perticular
table.
Trigger is identical with procedure but the basic
difference between them is procedure is explicitly created
& executed by the user where as trigger is explicitly
created but implicitly fired or executed when ever a DML
operation is made.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / aysh
A database trigger is procedural code that is automatically
executed in response to certain events on a particular
table or view in a database.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dhanalakshmi parthasarathy
Triggers are simply stored procedures that are ran
automatically by the database whenever
some event (usually a table update) happens. We won’t spend
a great deal of time talking
about how to write triggers, because if you know how to
write stored procedures, you already
know how to write triggers. What we will discuss is how to
set them up to be executed whenever something happens to
the table.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / felin dhivya
Trigger is an activity that takes place due to more energy
| Is This Answer Correct ? | 0 Yes | 2 No |
How can I combine multiple rows into a comma-delimited list in oracle?
How to write date and time literals in oracle?
how to produce numbers from 1 to 10 using dual table
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
How many memory layers are in the oracle shared pool?
Why do you use stored procedures and state some of its disadvantages?
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....
i have a table with 1 lac of data.i want to insert this data into another table. i want every 5000 of data insert use a commit.using counter and if error is comming in the 5000 of data it rollback.
What is primefaces used for?
What is tns name?
How to view the dropped tables in your recycle bin?
can you write commit in triggers?