Does anyone know how I would need to enhance the referenced code above
to handle multiple result sets returned from the SP?
Hi
I wrote the SP code you linked to. I have been meaning to rewrite it
using ADO directly - the Win32OLE stuff built into Ruby lets you create
COM objects (such as an ADOCommand) and call it directly. In other
words forget the “construct a big string” approach and bypass
ActiveRecord’s connection entirely. Unfortunately, I’ve never had time
to do it and I’m not really working with Sql Server at the moment. But
that would be the way to go.
Baz.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.