title: I want to delete few SQLite tables(NOT DROP) and get an acknowledgement
body: <p>I want to delete few SQLite tables(NOT DROP) and get an acknowledgement. How can i write a function in db handler??</p>
  
  <pre><code> public void DeleteUserData(int userID) 
   {
      String[] queries =new String[6];
      queries[0]="delete from COMMONS where USERID="+userID;
      queries[1]="delete from POINT where USERID="+userID;
      queries[2]="delete from USER where USERID="+userID;
      queries[3]="delete from OFFICE"; 
      for(int i=0;i&lt;queries.length;i++) {
          SQLiteDatabase db = this.getWritableDatabase();
          db.execSQL(queries[i]);
      } 
   }
  </code></pre>
  
  <p>I tried this, is there any better way? Thanks in advance.</p>