- The expected outcome is that when the sqlcmd connection is terminated, an error message is reported by sqlcmd that indicates that the connection is lost and the exit code is 1 that indicates failure.
- The sqlcmd connection can be terminated in these ways: the SQL Server KILL command, SQL Server service shutdown, SQL Server restart during patching, network issues, and others.
The issue was first fixed in the following cumulative update of SQL Server:
ID d'article : 3082877 - Dernière mise à jour : 22 déc. 2015 - Révision : 1