engineering computer science MCQ #804

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

engineering computer science MCQ #804

  1. Question 1

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

    • A) To improve data security
    • B) To enhance data integrity
    • C) To simplify complex operations
    • D) To reduce data redundancy

    Answer: To simplify complex operations

    Explanation: A stored procedure simplifies complex operations by providing a reusable block of SQL code that can be executed with a single command.