Vidyalelo
Python · Q21

Database Connectivity with Python

Programming · Python · question 21

Q21

How do you execute a stored procedure from Python using the sqlite3 module?

A.
Using the execute() method
Answer
B.
Using the call() function
C.
Using the run() method
D.
Using the exec_procedure() function

Answer: Option A

Solution

Answer: Option A
Solution:
You can execute a stored procedure using the execute() method from the sqlite3 module.