On Mar 8, 4:27 pm, Andy Tinkham <[email protected]> wrote:
>  I tried in irb to require 'sequel' and then type the workaround code that 
> you gave and it complained about Sequel::MSSQL being an unknown constant.

You have to do it after establishing your database connection, but
before issuing a query.

> I also tried 'rake gem' in my tiny_tds repo that I cloned. It built the gem 
> but didn't install it (at least gem list didn't list it even after running 
> rake gem). 'gem install tiny_tds' in that directory errors out because 
> DBDATEREC is missing several expected members (dateyear, datemonth, etc.).

Do you have freetds installed?  If so, which version?

> I'll fork a new repo tomorrow and see if I can build - maybe I pulled it when 
> the build was broken or something.
>
> I have no idea how to add a SQL Logger, unfortunately, so can't make much 
> progress on that without some googling or finding other information.

Add a :logger=>Logger.new($stdout) option (make sure you require
'logger').

> I'll work on this more tomorrow or the next day.

Cool.  Please let me know how it turns out.

Thanks,
Jeremy

-- 
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