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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs