Skip to content
Sharp

Data Access · interview question

A teammate submits shaky parameterized queries code. Which review comment is the strongest?

Multiple choiceMediumchapter-11-curatedpremiumdata-accessparameterized-queries
Choose one answer
Answer and explanation

Correct answer

D. Make the rule clearer and easier to explain. Pass values separately from the SQL text so the database handles the binding and the code stays safer.

Why

The best review comment anchors the change to readability, correctness, and future maintenance. String interpolation in SQL is one of the fastest ways to create injection risk and brittle query code.

Test yourself on Data Access

A free test with instant, explained results. No account needed.

Start free test
All Data Access questions →