SQLCMD Unexplained behaviour returning output starting with square brackets
complete explanation at https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b0c08c5d-a6aa-4ec7-9b54-87807cf81548/sql-server-2012-sqlcmd-unexplained-behaviour-returning-output-containing-square-brackets-?forum=sqltools
Basically, SQLCMD does not behave the same way since SQL 2012 when a message starts with an opening bracket.
The following command returns an empty string when previous version returned the entire text:
sqlcmd -b -E -S -Q "RAISERROR('[A][B][C]',10,1)"
this one removes the firs value between brackets:
sqlcmd -b -E -S -Q "RAISERROR('[A] [B][C]',10,1)"
UK Hoverboards commented
Another self-modifying electric bike from Segway makes on you. kind of a satisfying pair of shoes, it takes you puts, yet on wheels. Spending limit hoverboards, terrible scene hoverboards and Segways – all at wheely mind boggling costs.