[courtesy cc of this posting sent to cited author via email]

In article <20021006210639.DKGA17535.rwcrmhc51.attbi.com / rwcrwbc55>,
 <doug.tillman / attbi.com> wrote:
>It seems like I'm connecting successfully but I don't
>know how to read the result back properly.  Below is the
>code I'm using - any help appreciated.

You need to retrieve the data. The method you want are #fetch, #fetch_hash,
and so on.

> today_str = sth.execute()

  err = sth.execute
  @today_str = sth.fetch.to_s
  puts row

>  end 

-- 
Ollivier ROBERT  -=- FreeBSD: The Power to Serve! -=-  roberto / freebsd.org
Usenet Canal Historique