Execute multiple semi-colon separated query using mysql Prepared Statement
No, it is not possible. PREPARE / EXECUTE stmt can execute only one query at a time, many statements cannot be combined. See documentation: http://dev.mysql.com/doc/refman/5.0/en/prepare.html … a user variable that contains the text of the SQL statement. The text must represent a single statement, not multiple statements. Anyway, to simplify your code I would create … Read more