Ruby and SQL Queries

Discussion in 'Ruby' started by Josh Otter, Mar 28, 2006.

  1. Josh Otter

    Josh Otter Guest

    Hi all,
    I am new to Ruby ( and to Miscrosft SQL). I want to be able to do very
    basic queries from ruby to a external MS SQL databse. I have searched
    through the web and it seems you have to jump through hoops to get ruby
    to talk to a SQL database.

    1) Install freedts

    2) Install sqlrelay

    3) ??

    I installed freedts, but I am having problems install sqlrelay (gentoo).
    Is there a easier way to do quieries in Ruby?

    Thanks,
    Otter


    --
    Posted via http://www.ruby-forum.com/.
     
    Josh Otter, Mar 28, 2006
    #1
    1. Advertising

  2. Josh Otter

    James Britt Guest

    Josh Otter wrote:
    > Hi all,
    > I am new to Ruby ( and to Miscrosft SQL). I want to be able to do very
    > basic queries from ruby to a external MS SQL databse. I have searched
    > through the web and it seems you have to jump through hoops to get ruby
    > to talk to a SQL database.
    >
    > 1) Install freedts
    >
    > 2) Install sqlrelay
    >
    > 3) ??


    This may help

    http://ruby-dbi.rubyforge.org/

    --
    James Britt

    "Blanket statements are over-rated"
     
    James Britt, Mar 28, 2006
    #2
    1. Advertising

  3. On 3/27/06, Josh Otter <> wrote:
    > Hi all,
    > I am new to Ruby ( and to Miscrosft SQL). I want to be able to do very
    > basic queries from ruby to a external MS SQL databse. I have searched
    > through the web and it seems you have to jump through hoops to get ruby
    > to talk to a SQL database.


    On windows using the 1 click installer ruby-dbi comes installed by
    default with ODBC drivers and you can access MS-SQL that way without
    installing anything.
     
    Gregory Brown, Mar 28, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ian Roddis

    xslt queries in xml to SQL queries

    Ian Roddis, Feb 26, 2006, in forum: Python
    Replies:
    3
    Views:
    1,507
    Crutcher
    Feb 26, 2006
  2. ecoolone
    Replies:
    0
    Views:
    762
    ecoolone
    Jan 3, 2008
  3. Alec Taylor
    Replies:
    5
    Views:
    200
    alex23
    Oct 15, 2011
  4. Abby Lee

    so many queries within queries I'm confused

    Abby Lee, Aug 4, 2004, in forum: ASP General
    Replies:
    11
    Views:
    355
    Aaron [SQL Server MVP]
    Aug 6, 2004
  5. Joe Martin
    Replies:
    1
    Views:
    128
    David Mullet
    Apr 3, 2010
Loading...

Share This Page