title: Inserting string to SQLite using Android
body: <p>How do we insert  strings that have commas (,) in them into SQLite database using Android ?</p>
  
  <p>If there are no commas within the values to be inserted, then insertion happens fine. Say for example see the Android code:-</p>
  
  <pre><code>db.execSQL("insert into Student ( id, name, mark ) values (1, 'Geevarghese', 100)");
  </code></pre>
  
  <p>Inserting into the db works well.</p>
  
  <p>If I modify my question to add the address to the database, like the following, </p>
  
  <pre><code>db.execSQL("insert into Student ( id, name, mark, address ) values (1, 'Geevarghese', 100, 'No.20, Cochin, Kerala')");
  </code></pre>
  
  <p>This query doesn't insert data into the database</p>
  
  <p>How to properly insert data that includes comma into SQLite db from Android ?</p>