title: number of rows affected by insert sql / android
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6659673/get-updated-rows-count-from-sqlite-in-android-using-a-raw-query">Get updated rows count from SQLite in Android using a raw query?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to get the number of rows affected by a sqlite <code>insert</code> command. My query looks something link this:</p>
  
  <pre><code>String sql = "INSERT OR REPLACE INTO "+TABLE_USER+" (`...
                  ")" ;
  
          c = myDataBase.rawQuery(sql, null);
  </code></pre>
  
  <p>My research was not successful. I found something like a <code>count()</code> command for sql but I didn't get it to work. How do I get the number of modified rows of a sql <code>INSERT</code> command?</p>