Change to VARHCAR Behavior
"Melissa Dougherty" <[email protected]> Mon, 9 Oct 2006 13:41:45 -0400
| Newsgroups | gmane.comp.db.mysql.windows |
|---|---|
| Message-ID | <000e01c6ebca$30bb72f0$3c0a0a0a@denterprise1> |
Does anyone know of a db setting to change the VARCHAR behavior back for chopping the spaces at the end of the string? I read the notes that indicate.... As of MySQL 5.0.3, trailing spaces are retained when values are stored and retrieved, in conformance with standard SQL. This is painful in an app where a user is looking for a string using a equals and the spaces causes the record not to be retrieved. Thanks, Melissa