Check the CREATE TABLE statement. Possibly you use VARCHAR type and your data has trailling spaces. Try to TRIM all the data in your database or remove trailling spaces using text editor.
In response to
SELECT bug? at 2003-06-24 07:42:50 from Jacek Kalinski