What is difference between Triggers and store procedure?
Answers were Sorted based on User's Feedback
Answer / vidit tyagi
triggers are events which fires automaticaly when any insert
,update or delete command execute
but in case of stored procedure we have to manualy
execute / fire to procedure
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sivasiva
Triggers:
Triggers create event that event pass the value for
insert,update delete automatically updated value for the
table.triggers are event driven sepecified procedure.store
and managed by DBMS.automatically fires the value.
Store procedure:
Fast Accesing.Reduse network traffic.sepatre businees rules
and logic from presentation layer
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the difference between clustered and non-clustered indexes in ms sql server?
How to select nth record from a table?
13 Answers DELL, Microsoft, Ramco,
What is use of @@ spid in sql server?
What is database black box testing?
How many tables can be joined in SQL Server?
What is read committed?
What is the datatype returned by count(*)
22 Answers 247Customer, Asian CERC,
What is built-in function?
What is transact-sql language?
What is the difference between the following two sql statements select count(*) from <tablename> select count(col_name) from <tablename>
What is temporary table in sql server? Why we use temp table?
What is partition in sql server?
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)