Skip to content

Conversation

@SamsiFPV
Copy link

@SamsiFPV SamsiFPV commented Jul 9, 2025

When trying to interact with a Microsoft SQL Server, the program brings the error "SQL ERROR" and reports "Invalid cursor state".

This is caused by calling SQLFetch() on empty data. This fix first checks if any columns exist before calling fetch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant