public void execNonQuery(String sql,String[] selectionArgs){
  for (int i=0, count=selectionArgs.length; i < count; i++)   sql=sql.replaceFirst("[?]",selectionArgs[i]);
  LogUtils.d(sql);
  database.execSQL(sql);
}

public void execNonQuery ( String sql , String [ ] selectionArgs ) { for ( int i = 0 , count = selectionArgs . length ; i < count ; i ++ ) sql = sql . replaceFirst ( "[?]" , selectionArgs [ i ] ) ; LogUtils . d ( sql ) ; database . execSQL ( sql ) ; }
execute non query sql with selectionargs , will replace ? s with selectionargs .
