SQLite Forum

Renaming a database
Login
The "how to corrupt" page is quite clear that renaming a database file while in use can corrupt the database.

But what if I have a requirement to rename a database, and various disparate clients which might be using it. Is there ever a safe way to rename a database? Or do I need some locking outside of sqlite implemented in every client?

Toby