title: SP2-0734: unknown command beginning select
body: <p>I have continuous automated application deployment building on Azure DevOps server 2019(ex TFS). Part of deploy is checking the Oracle DB status, before running scripts, the script below works for a year, and ones (probably after latest Azure DevOps server update 2019.1) it stops working with an error:</p>
  
  <pre><code>SQL&gt; SP2-0734: unknown command beginning " select..." - rest of line ignored. 
  SQL&gt; SP2-0734: unknown command beginning " select..." - rest of line ignored. 
  </code></pre>
  
  <pre><code>$chekdbsql = 'select status from v$instance;'
  $i = 1
  $chkdb = ""
  while ($chkdb.Contains("OPEN") -ne 'True') { 
      Clear-Variable -Name chkdb
      $chkdb = ($chekdbsql | cmd /c "sqlplus -s user/password@localhost/ora as sysdba")
      if ($chkdb.Contains("OPEN") -eq 'True'){
          break 
          }
      echo "Trying to connect to database. Attempt $i"
      sleep 10
      $i++ } 
  write-host "Connected! Database's status is 'open'." -ForegroundColor green
  </code></pre>
  
  <p>If I tried to execute command locally on the machine where the application is built - it's work well.</p>