Cannot rename databases that have virtual tables
You cannot rename a database if the database has any tables that were created from the primary access method (also known as virtual table interface) or indexes that were created from the secondary access method (also known as virtual index interface).