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

How do I clear a mysql database?

522


Explain the architecture models of SQL Server?

1904


How would you get the current date in mysql?

652


How do I exit mysql?

510


What are the differences between char and varchar data types?

504






How do I update a variable in mysql?

499


What is mysqlcheck do?

544


How do you create a schema?

507


Can we store pdf files in mysql?

477


What is the phantom problem?

505


What is mysql sleep process?

526


What is relational database in mysql?

500


How to include comments in sql statements?

575


Is mysql relational database?

477


What are triggers mysql?

490