Post by Roy EppersonI'm not finding what the maximum number of characters that a statement
can be. Anyone know where I can find that spec?
Are you having problems or just looking for some spec?
http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
" A communication packet is a single SQL statement sent to the MySQL server, a
single row that is sent to the client, or a binary log event sent from a master
replication server to a slave.
The largest possible packet that can be transmitted to or from a MySQL 5.0
server or client is 1GB."
The C API is limited appears to be 16Mb.
Is there some reason for creating a single statement that long?
--
Michael Austin
Database Consultant
Domain Registration and Linux/Windows Web Hosting Reseller
http://www.spacelots.com