in reply to DBD: dbd_describe/SQLNumResultCols err=-1
NO not really - I think you will probably have to show us the code that connects to the database and prepares the queries.
However the SQL Server documentation says:
you may receive the "Invalid cursor state" error message when Microsoft® SQL Server runs out of resources while attempting to save selected tables or a database diagram. This error is returned because of insufficient space in your database or transaction log to complete the save process. To correct this problem, check to see if the database or the transaction log is full. If so, increase the size of the database to accommodate the change. Check other system resources or contact your system administrator.
/J\
|
|---|