Howto create a new sqlite database?

Forum related to SQLite

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
mvdhoning
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 02.09.2007, 15:39
Contact:

Howto create a new sqlite database?

Post 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.
Wolfman
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 26.06.2007, 13:34

Post 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.
Post Reply