Description
Hi,
When a wrong host or port provided in CLI, exceptions are thrown and the session is stuck, the prompt is not back until ctrl+c is executed.
I need to be able to run a command like the below in batch mode and get the prompt back with a proper exit code when connect fails.
tsql -c "\version" -h localhost -port 26003
Thanks,
Niv