A parameterized query replaces user input in SQL statements with ________ to prevent SQL injection.

  • functions
  • operators
  • placeholders
  • variables
Parameterized queries replace user input in SQL statements with placeholders. These placeholders act as markers for where the input data should be inserted into the query. By using placeholders, the SQL engine can differentiate between executable SQL code and user-provided data, thereby preventing SQL injection attacks.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *