码迷,mamicode.com
首页 > 数据库 > 详细

[MySQL] Stored Procedures

时间:2015-04-27 12:42:32      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:

Stored routines (procedures and functions) can be particularly useful in certain situations:

  • When multiple client applications are written in different languages or work on different platforms, but need to perform the same database operations.

  • When security is paramount. Banks, for example, use stored procedures and functions for all common operations. This provides a consistent and secure environment, and routines can ensure that each operation is properly logged. In such a setup, applications and users would have no access to the database tables directly, but can only execute specific stored routines.

------------------------------------------------------------------------

 

[MySQL] Stored Procedures

标签:

原文地址:http://www.cnblogs.com/Phoebe815/p/4459724.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!