title: WHERE clause operator requires compatible variables
body: <p>Below script (fx is SQL Server's table):</p>
  
  <pre><code>LIBNAME SQL ODBC DSN='sql server' ;
  
  DATA new;
      SET SQL.fx;
      WHERE repo_date = '2016-04-29 00:00:00.000';
  RUN;
  
  
  PROC PRINT DATA=new;
  RUN;
  </code></pre>
  
  <p>returns me an error (in SAS log):</p>
  
  <pre><code>191      WHERE repo_date = '2016-04-29 00:00:00.000';
  ERROR: WHERE clause operator requires compatible variables.
  192  RUN;
  </code></pre>
  
  <p>Where can I check which data conversion I need (in this case and in others)?</p>
  
  <p>In SQL Server 2008R2 repo_date is a <em>datetime</em> column.</p>