When running multiple :CONNECT statements within a T-SQL script if one fails to connect, the rest of the script is not ran.
Is there some SQLCMD commands to work as a Try/Catch block to handle the connection error? I am aware that a T-SQL Try/Catch would not be valid as SQLCMD commands are ran before the SQL code.