title: line breaks in SQL query string from VBA
body: <p>I am building a command string in VBA to be handed over to Microsoft SQL Server Management Studio which looks something like this:</p>
  
  <pre><code>IF OBJECT_ID('tempdb..#temp') IS NOT NULL DROP TABLE #temp   
  GO
  CREATE TABLE #temp
  </code></pre>
  
  <p>However, the command string in VBA does not include line breaks required for the GO statment which causes the execution to fail. Any ideas?</p>