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

Answer Posted / jeyakumar

stored procedure:
Stored procedure is a collection of sql statements.It is precompiled one so execution time is fast.Single name we can create procedure for insert,delete,update.
Triggers:

Mainly used for implementing business rules.It execute automatically when the particular event is fired. For example maximum record 100 if anybody try to insert after 100 then delete first come record(first come first out).

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ISAM?

685


Can I use mariadb instead of mysql?

484


How to delete a trigger in mysql?

483


What are the advantages of myisam over innodb?

558


How to enable or disable a row of a table using MySQL in struts?

3567






What are the 'mysql' command line options?

499


What is the phantom problem?

493


List some mysql advantages and disadvantages?

525


What is a deterministic function?

591


How to calculate the difference between two dates?

480


How to find second highest salary from a table?

534


How do I start mysql manually?

464


What is acid in mysql?

463


How do I stop a mysql command?

475


What are numeric data types?

547