max length of string

Drstein99

Well-known member
Joined
Sep 26, 2003
Messages
283
Location
Audubon, Nj
Im declaring a string, for use with mySQL as an insert string. I cant seem to add more than 386 characters to it. Is there a maximum string length or something else I must declare to make strings larger than that size? Please help.
 
strings can probably be as large as the the amount of memory your cpu can address (usually 4gb).
Definitely post reproduceable code, and make sure youre using sql parameterized statements....none of this noob ad-hoc bs!!!!
 
Back
Top