From: "SHULTZ,BARRY (HP-Israel,ex1)" Date: 2002-01-23T16:01:51+09:00 Subject: RE: problems with ruby/odbc > > require 'odbc' > > $c = ODBC.connect("pelewax") > $q = $c.prepare("select pn_id,fx_id,pn_thatch_dm from > ptmgr.pele_wax_fid_link_data where pn_id>'0002001001376200' and > pn_id<'0002001001376300'") > $q.execute > print q.fetch Andrew, Apart from this one typo ( should be print $q.fetch ), your code works fine for me, but I'm using Andy's 1.6.5 Ruby distribution. Maybe you should upgrade and try again... Barry