-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs when calling SP that uses a cursor #48
Comments
@shueybubbles your theory is correct, this issue doesn't happen on v0.2.0. I'll use that version until this bug is fixed, thanks a lot for the workaround! |
opened a PR for the driver fix denisenkom/go-mssqldb#723 |
Please try version v0.4.0 |
Confirmed working, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any time I attempt to call a stored proc that iterates over a cursor, the tool hangs. Using this command:
and the following variations of the stored proc:
The command hangs indefinitely. Strangely, if I remove the DEALLOCATE like so it works:
but if I attempt doing so with the full SP it still hangs:
Every single one of the variations above work just fine using the standard
sqlcmd
tool. I've tested on a local SQL Server database and an Azure SQL Server database with same results, so it doesn't appear to be server-specific.The text was updated successfully, but these errors were encountered: