I am trying to rename a table in my app's sqlite database. For that I am using the following command:

ourDatabase.rawQuery("ALTER TABLE " + oldName + " RENAME TO " + newName,
                null);


where oldName is old name of the table, newName is the new name of table and ourDatabase is an instance of SQLiteDatabase. But this is not working.

What's the mistake ?

Thanks.


Question: Would Esther really have kept silent?
Answer: The Meam Loez says that she meant that Achashveirosh shouldn't kill the Jews, as he would thereby lose out. Had the Jews been sold as slaves, Achashveirosh could have always changed his mind later on (once realized how useful the Jews are). However, once they would be dead, he couldn't have done anything.