Greg Willits wrote:
> Just started using mysql-ruby, and doing a simply query like this:
>    select distinct rcrdNo from someTable
> I'm getting results back from mysql-ruby that is simply not correct.
> 
> rcrdNo is a unique random string that's 20 characters long. The only
> thing I can think of is somehow going through mysql-ruby that the full
> 20 chars is not being considered in DISTINCT?


Duh, all I had to do was output the results of each row, and indeed, the 
values of rcrdNo are only 13 characters long instead of 20.

What's up with that?

-- gw

-- 
Posted via http://www.ruby-forum.com/.