title: SQL error converting data type varchar to bigInt
body: <p>I have this query in which <code>Message.controlId is</code> big int and the concatenated <code>Data</code> variable has a unique identifier but I am getting the above mentioned error.</p>
  
  <p>Here is my query:</p>
  
  <pre><code> M = conn:execute({live=true,sql="Select * from Events join dbo.Messages on Events.EventId = Messages.TriggerEventId where Messages.ControlId= '"..Data.."'"})
  </code></pre>