首页 > 数据库技术 > 详细

[MySQL] Stored Procedures

时间:2015-04-27 12:40:57      阅读:110      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!