>Thanks Izmir, dropping the connection does cure it, but I was trying to avoid this if possible because of the overhead.
Yes I guess :) But I thought as you're calling ODBC SQLFreeStmt which (according to KB) maps to SQLFreeHandle you'd be freeing the handle.
Cetin