title: SQL LIKE question
body: <p>I was wondering if there's a drawback (other than bad practice) to using something like this</p>
  
  <pre><code>SELECT * FROM my_table WHERE id LIKE '1';
  </code></pre>
  
  <p>where id is an integer. I know you're supposed to use id=1 but I am writing a java program and if everything can use LIKE it'll be a lot easier for me. Also, so far, everything works fine; I get the correct query results, so if there is no drawback I will continue doing it like this.</p>
  
  <p>edit: I am using MySQL.</p>