Home » PHP » PHP MySQL Database » Question
  1. Which version of MySQL introduced the prepared statements?
    1. MySQL 4.2
    2. MySQL 4.3
    3. MySQL 4.1
    4. MySQL 4.0
    5. None of these
Correct Option: C

When the query() method is looped repeatedly it comes at a cost of both overhead, because of the need to repeatedly parsing of the almost identical query for validity, and coding convenience, because of the need to repeatedly reconfigure the query using the new values for each iteration. To help resolve the issues incurred by repeatedly executed queries, MySQL introduced prepared statements.



Your comments will be displayed only after manual approval.