I'm using the freeodbc++ library to access data on a MS SQL Server 2000 database (SP3? SP4?). In particular, I'm running a particularly long and nasty stored procedure. I can watch the procedure execute in SQL Profiler, however, it tends to stop processing at a certain point. No error codes or exceptions thrown. If I comment out the nested statement that is always the last statement, it just ends slightly before the comment. I haven't tried radically commenting out the whole darn thing... I'm setting the query timeout to 300 seconds. The callable statement usually returns in under 1 sec, without actually finishing the SP.
Any ideas?
UPDATE0: If I run the SP via Query Analyzer or some other tool... it works. It's just via my ODBC connection that it fails.
UPDATE1: As I comment out code, the execution ends further into the SP. Makes me think there is a timeout or buffer limit that I'm running into.