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

How do I edit a stored procedure in mysql?

492


Can you tell the difference between mysql_connect and mysql_pconnect? : Mysql dba

485


What is the difference between sql and mysql and oracle?

433


How do I install mysql?

454


What are the three types of queries?

454






Is the syntax correct? Explain the meaning of the syntax given below: $dbc = mysqli_connect('data.aliensabductedme.com', 'owen', 'aliensrool', 'aliendatabase');

522


Is sqlite faster than mysql?

487


Which is better mysql or microsoft sql?

435


How to use case expression?

524


Why mongodb is faster than mysql?

465


What does blob mean in mysql?

484


Is mysql owned by oracle?

532


How do I remove a user from mysql?

556


How to Creating a new user. Login as root. Switch to the MySQL db. Make the user. Update privs.

569


Can mysql handle big data?

514