Ricardo <[EMAIL PROTECTED]> wrote: > I have a problem with SELECT DISTINCT if the target > field contains special characters. > > Example: > > select MyField from MyTable > +----------+ > | MyField | > +----------+ > | f? | > | F? | > | fa | > | Fa | > | f? | > | F? | > | f? | > | F? | > +----------+ > > select distinct MyField from MyTable > +----------+ > | MyField | > +----------+ > | f? | > +----------+ > > MyField is varchar type and MyTable is InnoDB. > > Is there any way to change this behaviour in MySQL? I > use version 4.0.16. >
What is the character set of the data? What is the character set of MySQL server? -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Egor Egorov / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]