What are the advantages of stored procedures, triggers,
indexes?

Answer Posted / kalai

1.Advsntsge of Stored Procedures:
================================
Stored Procedures are precompiled one.
it is the group of sql statements.
stored procedure like a application programming.
stored procedure is a fast one because it is already
precompiled.
stored procedure is the one is easy to maintain.

2.Advantage of Triggers:
========================
Triggers is a special kind of procedure.
the Main advantage of the trigger is automatic.
whenever the table affected by insert update or delete
query that time the triggers will implicitely call.

3.Advantage of Indexs:
======================
The Main advantage of the indexes is speed.
if the table having the indexes while selecting or
filtering the row(s) 0r columns(s) ,the execution time
very fast.
but, if you use the indexed table the insert update and
delete will be slow.

Is This Answer Correct ?    88 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is mysql a relational database?

442


How to use sum function in where clause in mysql?

449


What is database clustering in mysql?

485


When to use order by in delete statement?

571


What is the difference between mysql and pdo?

499






How much does mysql enterprise cost?

490


How to delete a table.

518


I want to start and stop mysql on windows? How do I do that?

523


Is mysql is a programming language?

531


Who owns mysql database?

585


How to use mysqldump to create a copy of the database?

510


What is difference between Sql server and MySql database? It may be silly question but i really dont know.

1558


What is foreign key in mysql?

599


What is normalization and list the different types of normalization?

528


How to use in conditions?

534