title: Unexpected EOF from the server on SQL server
body: <p>I am running the following SQL query using the <code>Navicat</code> client for Mac:</p>
  
  <pre><code>SELECT 
      CREATE_TIME, EMAIL, NUMBER, SNID 
  FROM 
      LOG_DEVICE 
  WHERE 
      CID = 'T-MOB' 
      AND NUMBER LIKE '12345678%'
  </code></pre>
  
  <p>But when I do, I get <code>Unexpected EOF from the server</code>. I have tried adjusting the query to this:</p>
  
  <pre><code>SELECT 
      CREATE_TIME, EMAIL, NUMBER, SNID 
  FROM 
      LOG_DEVICE 
  WHERE 
      CID = 'T-MOB'
  </code></pre>
  
  <p>and it will run without issue. I'm guessing that it has something to do with the <code>NUMBER</code> column. I know the column has <code>NULL</code> and empty values, but it seems that the error happens at the end of the file.</p>
  
  <p>What is causing this, and how can I handle it? Is there a way to handle the error so that I can complete the query? </p>
  
  <p>UPDATE:</p>
  
  <p>I am running SQL 2005. Not sure that makes a difference, but I figured I'd mention it. </p>