When I’m bad at SQL, I’m really bad. This makes my error messages thousands of lines long. This means that SQLCMD truncates them long before I see the relevant part of the error. How can I make SQLCMD give me the full error message when the error message is very long?
-y 0
does not fix the problem.