标签:
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.
------------------------------------------------------------------------
标签:
原文地址:http://www.cnblogs.com/Phoebe815/p/4459724.html