RE: distinct on varchar fields

2001-05-04 Thread Chris Bolt
Have you tried: select concat("blah", x, "bleh") from y group by x; > Hi All, > > when I use a distinct on varchar fields, does mySQL truncate the value > of the string to some set value. > This two queries give me a completely different number of rows an

distinct on varchar fields

2001-05-04 Thread Markus Klink
Hi All, when I use a distinct on varchar fields, does mySQL truncate the value of the string to some set value. This two queries give me a completely different number of rows and I am not sure how to influence the behaviour: select distinct x from y; (many rows result) and select distinct