info > CALL

📖 NAME

CALL - invoke a procedure

🚀 Quick Reference

Use Case Command Description
Simple procedure call CALL do_db_maintenance(); Invoke a procedure with no arguments
Call with positional arguments CALL my_proc(42, 'text'); Pass arguments in order
Call with named arguments CALL my_proc(param1 => 'value'); Explicitly name parameters for clarity
Handle output parameters CALL proc_with_out(NULL); Pass NULL for OUT parameters (value not evaluated)
Check privileges User must have EXECUTE privilege on the procedure

📋 SYNOPSIS

CALL name ( [ argument ] [, ...] )

📝 DESCRIPTION

CALL executes a procedure.

If the procedure has any output parameters, then a result row will be returned, containing the values of those parameters.

⚙️ PARAMETERS

📌 NOTES

💡 EXAMPLES

CALL do_db_maintenance();

🔗 COMPATIBILITY

CALL conforms to the SQL standard, except for the handling of output parameters. The standard says that users should write variables to receive the values of output parameters.

📚 SEE ALSO

CREATE PROCEDURE (7)

CALL
📖 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION ⚙️ PARAMETERS 📌 NOTES 💡 EXAMPLES 🔗 COMPATIBILITY 📚 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:23 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!