Thursday, March 12, 2009

Every day a holiday, every meal a feast

And at work? Ah, it was a good day at work.

I was able to get down deep and spend some quality time with a problem that's been waiting for my attention for a few weeks.  I started with this

require 'dbi'
db = DBI.connect('dbi:ODBC:servername', 'loginid', 'password')
select= db.prepare('SELECT field1 FROM table')
select.execute
while rec = select.fetch do
puts rec.to_s
end


And things clicked and much progress was made and it was good.

blog comments powered by Disqus