Posted by Chameleon on 02/11/06 17:44
I have a SQL Script with about 5000 SQL Commands.
How can I send it to SQL Server at once?
I see mysql_query() fails on first semicolon (;) who delimits the SQL
Commands.
Another question:
I send to a MySQL server via fast Internet connection, about 500 INSERT
commands one by one via mysql_query().
It takes much time. Why?
I suspect that, mysql_query() after send the query to server, waits for
a "OK" response. If it's true, how can I send and send and send SQL
commands and MySQL server reply "OK" after send all these things?
(or no wait at all?)
[Back to original message]
|