• Connecting to an SQL Server 14 database using ruby

    From cebirim@gmail.com@21:1/5 to All on Thu Nov 19 07:37:30 2015
    Hi,

    I'm trying to connect to an SQL Server database using ruby and am having difficulty running complex SQL statements.

    I've been using the tinytds gem and can run simple SQL queries but not complex ones.

    Can someone please help if they have been successful in running complex SQL commands against an SQL Server database in a ruby script?

    Many thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Erland Sommarskog@21:1/5 to All on Thu Nov 19 22:35:20 2015
    I'm trying to connect to an SQL Server database using ruby and am having difficulty running complex SQL statements.

    I've been using the tinytds gem and can run simple SQL queries but not complex ones.

    Can someone please help if they have been successful in running complex
    SQL commands against an SQL Server database in a ruby script?


    Never used Ruby or TinyTDS, but what more exactly happens when you try?


    --
    Erland Sommarskog, Stockholm, esquel@sommarskog.se

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)