Strange (to me) dbi access statements

Hi,
I’m using unixODBC with ruby. When I pass a sql select statment like
“Select custno,company from arcust where custno = ‘ARMFOO’”
All works.

But if I pass sql statement like
“Select * from arcust”

I get the error “Ruby[ODBC] no data found”

Does anyone have a idea about why this is occuring???

John