On Aug 25, 9:25 am, Brett Veenstra <[email protected]> wrote:
> Even more trials that have the same failure...
>
> Instead of "each" call, I just am trying this now:
>
>       DB.test_connection(nil)
>
> On Aug 25, 8:58 am, Brett Veenstra <[email protected]> wrote:

Try running this with MRI and IronRuby, might help to isolate if the
problem is in Sequel or IronRuby or elsewhere.

require 'win32ole'

conn = WIN32OLE.new('ADODB.Connection')
conn.Provider = 'SQLNCLI'
conn.Open("driver='SQL
Server';server=localhost;database=some_db;uid=some_user;pwd=some_pwd")
rs = WIN32OLE.new('ADODB.Recordset')
rs.Open('select * from some_table', conn)
p rs.getRows

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to