On 4/15/06, Dan Baker <[EMAIL PROTECTED]> wrote: > What is the recommended method for creating a new database file from within > my app? (I > looked for an SQL statement, but failed to find something like "CREATE > DATABASE mydb") Look up the sqlite3_open() in API docs. All you need to do to create the db file is to call sqlite3_open() passing it desired filename of your db. SQLite will create the file for you as soon as you create some tables via CREATE TABLE statement. There's also sqlite3_open16() that takes UTF16 encoded filename.
See http://www.sqlite.org/capi3ref.html#sqlite3_open -- Nemanja Corlija <[EMAIL PROTECTED]>