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
How we can get the current date in mysql?
What is a longblob?
What are the drivers in MySQL?
Is number a datatype in mysql?
What is default schema in mysql?
What is mysql community edition?
Write a query to create a database and a table?
How to show all tables with 'mysql'?
using primary can we relate two table, with out foreign key?
Where’s database data actually stored? Is there a way to see the files which are stored?
How many queries can mysql handle?
In which year mysql created?
What is required to create mysql database?
Can mongodb replace mysql?
What is database engine in mysql?