title: SQLCMD passing in double quote to scripting variable
body: <p>I am trying to pass in double quote to a scripting variable in SQLCMD. Is there a way to do this? </p>
  
  <pre><code>sqlcmd -S %serverName% -E -d MSDB -i MyScript.sql -m 1 -v Parameter="\""MyValueInDoubleQuote\""" 
  </code></pre>
  
  <p>And my sql script is as follow:</p>
  
  <pre><code>--This Parameter variable below is commented out since we will get it from the batch file through sqlcmd
  --:SETVAR Parameter "\""MyValueInDoubleQuote\"""
  
  
  INSERT INTO [MyTable]
             ([AccountTypeID]
             ,[Description])
       VALUES
             (1
             ,$(Parameter))
  GO
  </code></pre>