On 2/7/07, Nathan <[EMAIL PROTECTED]> wrote:
> So I have a connection now!  And that was my goal, but it doesn't act the 
> same way as the MySQL gem.  For example, I don't see a query method/object 
> anywhere.  I guess I'm just going to need to do a little searching.  What a 
> pain.

data = connection.run("SELECT name, giblets FROM
members M, balance B WHERE M.active = 'N' AND M.id =
B.member_id")
records = data.fetch_all

Read the docs:   http://www.ch-werner.de/rubyodbc/odbc.html
Seriously.  :)
-C
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to