Page 1 of 1

Howto create a new sqlite database?

Posted: 02.09.2007, 15:45
by mvdhoning
How do i create a new sqlite database at runtime? E.g. from my application. Making new databases sqlite adminstrator works like a charm. But i rather create a new database from my application.

What commands do i call or properties do i set.


Thank for your answers in advance.

Posted: 03.09.2007, 20:09
by Wolfman
set a database filename and connect. the file ist created automaticaly. the only thing you have to do is to run some sql statements to create tables, but this is a normal process.