Examveda

What is the purpose of a stored procedure in a database?

A. To store data backups

B. To define data types

C. To encapsulate SQL code for reuse

D. To generate random data

Answer: Option C

Solution (By Examveda Team)

A stored procedure is a precompiled collection of SQL statements that can be reused and executed in a database.

Join The Discussion

Related Questions on Database Connectivity with Python

What is SQLite?

A. A type of programming language

B. A relational database management system

C. A Python module for web scraping

D. A version control system