ODBC Error

I am running a ruby script to import some data into an MS SQL Server
Express database. The script works but I am getting errors. The error
message looks like this
“WARNING: STMT 0xXXXXXX was not dropped before garbage collection.”

BTW, I am running Ruby 1.8.5 and Windows XP

Any ideas on how to fix this?

thanks,

Luis

Hi Irlebron

There’s a very handy ODBC reference on
http://www.ch-werner.de/rubyodbc/odbc.html.
stmt.drop() or stmt.close() should do the trick

regards
Scratchy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs