Skip to content

'reset' command not supported #552

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

Closed
robverschoor opened this issue Nov 19, 2024 · 3 comments · Fixed by #559
Closed

'reset' command not supported #552

robverschoor opened this issue Nov 19, 2024 · 3 comments · Fixed by #559

Comments

@robverschoor
Copy link

The ODBC version of sqlcmd supports the reset command, which discards the batch (as opposed to go, which sends the batch to the server).
The Go version of sqlcmd does not seem to support reset, but my scripts use it. Please add support for reset?

@shueybubbles
Copy link
Collaborator

@robverschoor both versions support :reset
The ODBC inconsistency with which commands require the : was somewhat difficult to replicate. The documentation I was using didn't mention this as optional for :reset, at least at the time

@robverschoor
Copy link
Author

This is about reset without a leading colon (like go or exit). I have existing scripts containing reset.

@shueybubbles
Copy link
Collaborator

yes I was just mentioning a source of the disconnect.

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 a pull request may close this issue.

2 participants