What is the best way to create an empty sqlite3 database?
I mean without tables and rows inside it.

The problem is that if I create a 0 length file, when I try to open it with sqlite3_open I get the error "file is encrypted or is not a database". Maybe a possible solution could be to manually write the SQLITE3 header into the file, but is it safe?

Thanks,
Marco Bambini

Reply via email to