Cloud SQL stored procedures
Stay organized with collections
Save and categorize content based on your preferences.
This section describes stored procedures for Cloud SQL instances.
A stored procedure contains SQL code that you can reuse.
To execute a stored procedure, you use the CALL command and replace the
following variable:
- procedure_name is the name of the stored procedure.
CALL procedure_name(parameters);
For more information, see the
CALL reference page.
To create your own stored procedure, see CREATE PROCEDURE.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-22 UTC.
[null,null,["Last updated 2026-07-22 UTC."],[],[]]