eatc7402 Posted February 22, 2007 Share Posted February 22, 2007 Is there a limit to the length (number of chacter) I can seng from a PHP script to a MySql server. Wondering because I need to do a search with multiple WHERE clauses containing primary key values and the string used to pass the SQL command may be a somewhat lengthy string. eatc7402 Quote Link to comment https://forums.phpfreaks.com/topic/39585-sql-string-length-limit/ Share on other sites More sharing options...
artacus Posted February 22, 2007 Share Posted February 22, 2007 I don't think so. But why not try it first and ask questions after you break something? Quote Link to comment https://forums.phpfreaks.com/topic/39585-sql-string-length-limit/#findComment-191009 Share on other sites More sharing options...
fenway Posted February 22, 2007 Share Posted February 22, 2007 There is on the back from the server to the client, so maybe there is on the way to the server as well... but you won't hit the default 1MB limit with any where clause. Quote Link to comment https://forums.phpfreaks.com/topic/39585-sql-string-length-limit/#findComment-191227 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.