in reply to HoH keys with trailing white spaces ????
So my theory is that the data is improperly defined on the database itself, which leads to all these subtle nuances.My guess is that the fields in the table are of type CHAR(N). This pads strings that are too short. You could alter the table so the fields become VARCHAR(N). I don't think the change in schema will remove trailing spaces, but it will prevent spaces to be added the next time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HoH keys with trailing white spaces ????
by 3dbc (Monk) on Dec 10, 2011 at 21:19 UTC | |
by JavaFan (Canon) on Dec 10, 2011 at 21:43 UTC | |
by 3dbc (Monk) on Dec 12, 2011 at 22:56 UTC |