title: How to delete "/private/var/mobile/Library/SMS/sms.db" in Data
body: <p>I break the phone you want to delete /private/var/mobile/Library/SMS/sms.db" record, 
  Here is my source:</p>
  
  <pre><code>if (sqlite3_open(dbpath, &amp;contactDB) == SQLITE_OK)
  {
      NSString *querySQL = [NSString stringWithFormat: @"delete from message where rowid=4"];//SELECT address,text FROM message where ROWID=4 
  
      const char *query_stmt = [querySQL UTF8String];
      const char *error;
      int err = sqlite3_prepare_v2 (contactDB, query_stmt, -1, &amp;statement, &amp;error);
      if (err != SQLITE_OK)
      {
          //NSAssert1(0, @"Error updating tables: %s", erroMsg);
       }
  }
  </code></pre>
  
  <p>and return "err=1" ,rowid=4 is exist record,"SELECT address,text FROM message where ROWID=4" is right.</p>
  
  <p>please ,help me ,thx</p>