callproc(procname[, parameters][, overview]) Method

Calls the specified stored procedure from the database.

Syntax

cursor.callproc(<procname>[, <parameters>][, overview])

Parameters

Recommended Type Name Description
String <procname> The name of the procedure being called.
Tuple <parameters> The parameters for the specified procedure.
Boolean overview This parameter is not defined in PEP 249.

Returns

Returns a tuple of all of the parameters. Input values are returned unchanged, while output and input/output parameters may be replaced with new values. If the procedure provides a result set as output, then make the result available through the standard fetch methods.