Which of the following describes a precompiled collection of SQL statements stored on the database server that can be executed repeatedly by name? MCQ with Answer and Explanation
Which of the following describes a precompiled collection of SQL statements stored on the database server that can be executed repeatedly by name?
A. View
B. Trigger
C. Stored Procedure
D. Cursor
Answer: Option C
Solution (By JKExamLibrary)
A Stored Procedure is a precompiled group of SQL statements and optional control-of-flow code stored in the database server, enhancing execution speed and security.
Which database anomaly describes the necessity to update the exact same data value in multiple independent rows, creating a risk of data inconsistency?
Explanation:
An Update Anomaly occurs when data is redundantly duplicated across rows, requiring changes to be made to every copy, risking inconsistencies if any row is missed.
No comments yet. Be the first to start the discussion!