• Check the -Q and -b special behavior when together...

    If -b is specified together with this option (-Q), sqlcmd exits on error. -b is described later in this topic.