Utilities to handle SQLite databases