Thanks! It worked.
require 'rubygems'
require 'sequel'
DB=Sequel.ado(:conn_string=>'Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\mydata\my_file.xls;Extended Properties=Excel 8.0;')
dataset=DB[:cam]
dataset.all.each{|r| p r}
output:
{:names=>"north", :loc=>1.0}
{:names=>"south", :loc=>2.0}
{:names=>"east", :loc=>3.0}
{:names=>"west", :loc=>4.0}
Perfect.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---