[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[],[],null,["# Cloud SQL stored procedures\n\n\u003cbr /\u003e\n\n[MySQL](/sql/docs/mysql/stored-procedures \"View this page for the MySQL database engine\") \\| PostgreSQL \\| [SQL Server](/sql/docs/sqlserver/stored-procedures \"View this page for the SQL Server database engine\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThis section describes stored procedures for Cloud SQL instances.\n\nA stored procedure contains SQL code that you can reuse.\n| You cannot drop or alter system stored procedures.\n\nTo execute a stored procedure, you use the `CALL` command and replace the\nfollowing variable:\n\n- \u003cvar translate=\"no\"\u003eprocedure_name\u003c/var\u003e is the name of the stored procedure.\n\n```sql\nCALL procedure_name(parameters);\n```\nFor more information, see the [CALL](https://www.postgresql.org/docs/current/static/sql-call.html) reference page.\n\n\u003cbr /\u003e\n\nTo create your own stored procedure, see [CREATE PROCEDURE](https://www.postgresql.org/docs/current/static/sql-createprocedure.html)."]]