title: how to execute SQL statements in command prompt (CMD)
body: <p>how to execute SQL statements in command prompt (CMD),</p>
  <p>I'm using SQL Server 2012 in windows 8 OS.</p>
  <p>I have tried sqlplus and sqlcmd, both are giving error &quot;</p>
  <p><img src="https://i.stack.imgur.com/WFloK.png" alt="enter image description here" /></p>