P
PaÅlo Geyer
hi, anyone here has experience with microsoft sql server?
i did this little program:
#!/usr/bin/env ruby
require 'dbi'
conn = DBI.connect('DBI:ODBC:jornaldedebates', 'sa', 'fodase')
puts conn.tables
but when i try to run it, i get this error:
paulo@shuffle:~/Desktop/tmp/sql$ ./dbi.rb
/usr/lib/ruby/1.8/DBD/ODBC/ODBC.rb:95:in `connect': IM003 (0) [iODBC]
[Driver Manager]Specified driver could not be loaded
(DBI:atabaseError)
from /usr/lib/ruby/1.8/dbi.rb:424:in `connect'
from /usr/lib/ruby/1.8/dbi.rb:215:in `connect'
from ./dbi.rb:4
any ideas?
i did this little program:
#!/usr/bin/env ruby
require 'dbi'
conn = DBI.connect('DBI:ODBC:jornaldedebates', 'sa', 'fodase')
puts conn.tables
but when i try to run it, i get this error:
paulo@shuffle:~/Desktop/tmp/sql$ ./dbi.rb
/usr/lib/ruby/1.8/DBD/ODBC/ODBC.rb:95:in `connect': IM003 (0) [iODBC]
[Driver Manager]Specified driver could not be loaded
(DBI:atabaseError)
from /usr/lib/ruby/1.8/dbi.rb:424:in `connect'
from /usr/lib/ruby/1.8/dbi.rb:215:in `connect'
from ./dbi.rb:4
any ideas?