Hello - I have ruby 2.2 and the sequel latest.   I have been attempting to 
connect via ODBC, but have been receiving the 'odbc' Adapter Not found 
error.

My code is below.   You can see I have tried a few variations and commented 
them out after they fail.   I have also attached a screenshot of the error.

require 'rubygems'
require 'sequel'



  #DB = Sequel.connect(:adapter=>'odbc',:driver=>'SQL Server Native Client 
10.0',:server=>'xxxxxx',:uid=>'xxxx',:pwd=>'xxxx',:database=>'stage_ce_knowledge',:db_type=>'mssql')
  #DB = Sequel.odbc(:driver=>'SQL Server Native Client 
10.0',:server=>'xxxxx',:uid=>'xxxxx',:pwd=>'xxxx',:database=>'stage_ce_knowledge',:db_type=>'mssql')
  #DB = 
Sequel.odbc(:server=>'xxxxxx',:uid=>'xxxx',:pwd=>'xxxx',:database=>'stage_ce_knowledge',:db_type=>'mssql')
  DB = Sequel.odbc(:drvconnect=>'Driver={SQL Server Native Client 
10.0};Server=xxx;Database=stage_ce_knowledge;UID=xxxx;PWD=xxxx')


-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to