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?



Hi Irlebron

There’s a very handy ODBC reference on
Ruby ODBC Reference.
stmt.drop() or stmt.close() should do the trick