what is trigger?
Answers were Sorted based on User's Feedback
Answer / shanthi bhushan
Trigger is procedure which is automatically fires when we
modify the data in table(After i.e.,Data Manipulation wiil
be one)
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / naresh
Trigger is just like a storedprocedure but the only
difference is it is automatically call when the event ocour
or fire.
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / srividhya.s
Triggers are simply stored procedures that are executed
automatically by the database whenever
some event (usually a table update) happens.
sample:
CREATE [OR REPLACE]
TRIGGER trigger_name
BEFORE (or AFTER)
INSERT OR UPDATE [OF COLUMNS] OR DELETE
ON tablename
[FOR EACH ROW [WHEN (condition)]]
BEGIN
DBMS_OUTPUT.PUT_LINE(’Ur message to be
displayed ’ :NEW.NAME);
END;
| Is This Answer Correct ? | 9 Yes | 1 No |
A trigger is a DB object like proc. or func. stored in data
dictonary. It will fire implicitly with event on which it
written.
Main use of a trigger are
-- we can take backup of data.
-- Can be used for auditing purpose.
-- For applying complex bussiness rule.
Etc.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / srini
Trigger is a special kind of stored procedure executed
certain event occurs.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sudha
trigger is stored procedure it execute the one event
when another event is happenning for example it can do the
insert operation as well as select operation.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / monika mudgal
Trigger are events that perform some action.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / aarthi
trigger is used nto change the control from one state to
another
| Is This Answer Correct ? | 1 Yes | 0 No |
About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data ?
What does ole stand for in excel?
What is the difference between statement and preparedstatement interface?
Does dapper use ado.net?
What is a datagridview?
If i am expecting a single result from sqlserverdatabase then what command should i follow ?sqlcommand.executereader (commandbehaviour.singleresult)or sqlcommand.executescalar()
What is connection pooling and what is the maximum pool size in ado.net connection string?
i want 2 pass values(enterd in textbox)to table in sql server without using stored procedure in c#.plz tell me code with an example.
Explain the basic use of "dataview" and explain its methods.
What is the difference between Command and CommandBuilder object?
Does entity framework use ado.net?
Explian About DataAdapters
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)