What is Stored Procedure?

A stored procedure is a named group of  SQL statements that have been previously created and stored in the  server database. Stored procedures accept input parameters so that a  single procedure can be used over the network by several clients using  different input data. And when the procedure is modified, all clients  automatically get the new version. Stored procedures reduce network  traffic and improve performance. Stored procedures can be used to help  ensure the integrity of the database.e.g.  sp_helpdb, sp_renamedb, sp_depends etc.
A stored procedure is a set of Structured Query Language (SQL) statements that you assign a name to and store in a database in compiled form so that you can share it between a number of programs.

  • They allow modular programming.
  • They allow faster execution.
  • They can reduce network traffic.
  • They can be used as a security mechanism.
Tagged . Bookmark the permalink.

One Response to What is Stored Procedure?

  1. Abatiell Poremba says:

    Helpful info. Fortunate me I discovered your website by chance, and I am surprised why this coincidence did not came about earlier! I bookmarked it.

Leave a Reply