A stored procedure is a
segment of declarative SQL code, which is stored in the database catalog. A
stored procedure can be invoked by a program, a trigger or even another stored
procedure.
Stored Procedures Advantages
•
Stored procedure increases performance of
application.
•
Stored procedure reduces the traffic between
application and database.
•
Stored procedure is reusable and transparent
to any application which wants to use it.
•
Stored procedure is secured.
Stored Procedures Disadvantages
•
Stored procedures make the database server
high load in both memory and processors.
•
Stored procedure only contains declarative
SQL statements.
•
Stored procedure is difficult to debug.
•
Store procedure is not easy to write and
maintain.
No comments:
Post a Comment