The concept of stored procedures is very useful in a Relational Database Management System (RDBMS). SQL routines are stored in the database just like other schema objects such as tables, domains, etc. Stored routines allow application logic to be moved from the applications to the RDBMS. Routines are cached on the server and the overheads of transmitting and preparing frequently used SQL code is avoided.
Function
An overview of the features supported include:
In combination with Mimer PSM, the Mimer SQL Triggers and Functions should be studied.
Techniques
Support for stored routines within Mimer SQL is based on the ISO standard for SQL's Persistent Stored Modules (SQL/PSM - ISO/IEC 9075-4:1996(E), December 15, 1996).
Benefits
When using stored procedures, very good solutions can be implemented in many major areas, such as database consistency, performance and security.