title: INT is incompatible with text
body: <p>I have a problem with the query I am trying to implement to my .net code</p>
  
  <p>Here is the query I need to implement</p>
  
  <pre><code>insert into audit (username, action, editdate) 
  values(@username, 
        'user=' + @user + ' deleted comboid = convert(varchar(MAX),' + @comboid + ') of '
        + @distributorname, GETDATE()) 
  </code></pre>
  
  <p>where <code>comboid</code> is an <code>int</code> type</p>
  
  <p>The problem is the error I get:</p>
  
  <blockquote>
    <p>Operand type clash: int is incompatible with text</p>
  </blockquote>
  
  <p>The point is that no matter how I cast or convert the expression, I always get this error.</p>
  
  <p>Any idea?</p>