Hi,

I have a situation where, within a PHP loop, I am creating over one hundred SQL 
statement (INSERTS and UPDATES).

Would it cut any overhead to send 20 ";" seperated queries in one mysql_query() 
statement, and therefore only execute mysql_query() 5 times for 100 statements, as 
opposed to sending each statement individually?

So, 

mysql_query("INSERT...", "UPDATE ...", "INSERT ...", "UPDATE ..");


Reply via email to