Thank you for your answer,

I have installed unixodbc and rubyodbc . I try to test the connection to my
sql7 server

The syntax is  :  ruby test.rb DSN [uid] [pwd]
but what is exactly DSN ?

Magicbob


"Morris, Chris" <chris.morris / snelling.com> a ?crit dans le message news:
99DD35F8BFC4D511A3C500508BEE03A2081714 / mail01...
> > I'd like to connect my ruby programs to a sql server 7
> > database but i don"t
> > know how. I did it with perl by using freetds and i'd like to know if
> > there's something similar for ruby
>
> Check out Ruby/ODBC
> [http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2FODBC], works great
> for me so far.
>
> Chris
>