sqldynclose

Posted by LegacyUser on 04-Dec-2001 08:56

Hi,

Is it good use of running the next two statements against the same handle ?

sqldynclose( rqhandle, SQL_STMTCLS );

sqldynclose( rqhandle, SQL_STMTDROP );

According to the doc, both options close the associated cursor. So what can happen if the second statement closes an already closed cursor ?

I've been doing that for years with no problems but a memory faultarose recently and i'm putting my nose back in the C code.

Thanks for any answer.

All Replies

This thread is closed