Sail E0 Webinar
Question
Which version of MySQL introduced the prepared statements?
Options:
A .  MySQL 4.0
B .  MySQL 4.1
C .  MySQL 4.2
D .  MySQL 4.3
Answer: Option B


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.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers