📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

Stored Procedure



This page provides a comprehensive overview of Stored Procedure operations in TiDB Cloud Lake, organized by functionality for easy reference.

Procedure Management

CommandDescription
CREATE PROCEDURECreates a new stored procedure
DROP PROCEDURERemoves a stored procedure
CALLExecutes a stored procedure

Procedure Information

CommandDescription
DESCRIBE PROCEDUREShows details of a specific stored procedure
SHOW PROCEDURESLists all stored procedures in the current database

Further Reading

Explore Stored Procedure & SQL Scripting for a complete language reference, including variable handling, control flow, cursors, and dynamic SQL usage within procedures.

Was this page helpful?