Help Center/ Relational Database Service_RDS for MySQL/ FAQs/ Database Storage/ Does RDS for MySQL Support Stored Procedures and Functions?
Updated on 2026-03-24 GMT+08:00
Does RDS for MySQL Support Stored Procedures and Functions?
Yes.
- Stored procedures and functions are a set of SQL statements that have been compiled and stored in databases. Invoking stored procedures and functions reduces the amount of data that needs to be transmitted between databases and application servers, which improves data processing efficiency.
- Differences between stored procedures or functions:
- A function must have a return value, but a stored procedure does not.
- The parameters of a stored procedure can be of the IN, OUT, and INOUT type, but the parameters of a function can only be of the IN type.
For details about how to create a stored procedure and a function, see the official document.
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot