From: andrew_queisser@... (andrew queisser) Date: 2002-01-24T02:14:37+09:00 Subject: Re: problems with ruby/odbc "SHULTZ,BARRY (HP-Israel,ex1)" wrote in message news:<733CA39D4982D411AD080090278CBE39023856C8@shalom.israel.hp.com>... > > > > 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 Barry, Thanks, I'll try that. Andrew