title: What is wrong with sql query
body: <p>What is wrong with this sql query. I am getting syntax error near convert</p>
  
  <pre><code>"SELECT * FROM collections c where c.submittedBy='679' AND CONVERT(varchar, c.eventTime, 103) ='2017-06-21'";
  </code></pre>
  
  <p>The eventTime is  "eventTime": "2017-06-21T12:20:03.9366135+05:30"</p>
  
  <p>The error is</p>
  
  <pre><code>{"Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":64,\"end\":71},\"code\":\"SC1001\",\"message\":\"Syntax error, incorrect syntax near 'CONVERT'.\"}]}\r\nActivityId: a0c51c53-fca0-4c81-8f10-65348749e3d2"}
  </code></pre>