Difficulty: Easy
Correct Answer: Increased network traffic
Explanation:
Introduction / Context:
Stored procedures encapsulate SQL and logic on the server. They are used for performance, security, and maintainability. This question asks you to identify which option is not a benefit.
Given Data / Assumptions:
Concept / Approach:
Benefits include reduced round trips (less network traffic), consistent logic reuse (code sharing), improved security (expose only the proc), and plan reuse/optimization. Therefore, “increased network traffic” contradicts the usual effect.
Step-by-Step Solution:
Verification / Alternative check:
Compare two approaches: sending many individual SQL statements vs. one stored procedure call with parameters. The latter generally reduces bytes and latency.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming stored procedures always improve performance. Poorly written procedures or excessive server logic can still perform badly; however, they do not inherently increase network traffic.
Final Answer:
Increased network traffic
Discussion & Comments