title: Wrong returns the selected dates
body: <p>i want select date</p>
  
  <pre><code>SELECT  [Dt]
        ,[CustomerName]
        ,[PayerName]
        ,[ItemRelation]
        ,[ProductName]
        ,[SaleCount]
        ,[DocumentNum]
        ,[DocumentYear]
        ,[IsPromo]
        ,[CustomerType]
        ,[koef]
    FROM [Action].[dbo].[mytab1]
   where dt&gt; 2018-06-27
   order by dt
  </code></pre>
  
  <p>as the result i get that</p>
  
  <pre><code>Dt
  2017-10-12 00:00:00.000
  2017-10-12 00:00:00.000
  2017-10-12 00:00:00.000
  2017-10-12 00:00:00.000
  2017-10-13 00:00:00.000
  2017-10-13 00:00:00.000
  2017-10-13 00:00:00.000
  2017-10-13 00:00:00.000
  2017-10-14 00:00:00.000
  2017-10-14 00:00:00.000
  </code></pre>
  
  <p>what's wrong? why query returns me all data and not that > 2018-06-27 </p>