title: Msg 8115, Level 16, State 2, Line 2 Arithmetic overflow error converting expression to data type int
body: <p>I am getting an error after firing this query.</p>
  
  <pre><code>select COUNT(*) 
  from [DB1].dbo.Transaction(nolock) t 
  join [DB2].dbo.visits (nolock) v 
  on t.V_ID=v.V_ID 
  where t.Ct_ID=11  
  and t.Timestamp&gt;'06-08-2015' 
  and v.C_ID is null
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Msg 8115, Level 16, State 2, Line 2 Arithmetic overflow error converting expression to data type int</p>
  </blockquote>