--- title: "system.db.execSProcCall" description: "Executes a stored procedure call." --- # system.db.execSProcCall > Executes a stored procedure call. This function is used in **Python Scripting**. ## Description Executes a stored procedure call. The one parameter to this function is an SProcCall - a stored procedure call context. See the description of [system.db.createSProcCall](appendix\scripting-functions\system-db\system-db-createSProcCall.md) for more information and examples. ## Client Permission Restrictions ### Restrictions Prior to 8.1.2 This scripting function has no [Client Permission](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) restrictions on Ignition versions earlier than 8.1.2. ### Restrictions for 8.1.2 and beyond [Permission Type](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties): Legacy Database Access Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope. ## Syntax `system.db.execSProcCall(callContext)` ### Parameters Type | Parameter | Description ------- | ------- | ----- SProcCall| `callContext` | A stored procedure call context, with any input, output, and/or return value parameters correctly configured. Use [system.db.createSProcCall](appendix\scripting-functions\system-db\system-db-createSProcCall.md) to create a call context. ### Returns Nothing ### Scope Gateway, Vision Client, Perspective Session ## Code Examples There are no code examples available for this function.