Diff. types of triggers..
Answers were Sorted based on User's Feedback
Answer / k. a. purushotham
Basically there are three types of triggers,
Row and statement triggers
Before and after triggers
Insteadof triggers
Possible combination of these triggers
Before row trigger
After row trigger
Before statement trigger
After statement trigger
Instead of trigger is mainly for a view.
if we want to write a trigger in such a way that the
trigger action is to be on underlying base tables of a view,
when an DML statement (insert,update,delete)is issued
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pratap
There are mainily 3 types of triggers
1> DML Trigger
2> Instead of Trigger written on only view
3> System Trigger
DML Trigger written on table that gets fired on DML events
like
insert or delete or update operation
that trigger may fire
1> After dml event
2> Before dml event these are timings for trigger firing
Instead of trigger written only on view that view is not
modifiable that also gets fired
when dml event occurs
System trigger gets fired on system event like
before log off or after log on or before shutdown
this trigger may be written on
Database level
Schema level
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / dev
static trigger
the icon or window background is clicked or double-clicked
without moving the mouse
dynamic trigger
the icon is dragged and dropped onto another icon or window
background
hold trigger
the mouse button is held down on an icon or window background
| Is This Answer Correct ? | 2 Yes | 5 No |
What is use of connection pooling?
How many rowset are available in jdbc?
Can we make a database connection from HTML ?
6 Answers Aptech, BOB Technologies, Cap Gemini, Wipro,
Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?
Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.
4 Answers Cybermate, Hexaware,
What is the feature of jdbc v4?
Give steps to connect to the db using jdbc?
what happens if connection is not closed?
Which interface is responsible for transaction management in jdbc?
Is jdbc database independent?
Does jdbctemplate use prepared statements?
What is DML?