bulk insert statements with Sqlite
Posted: Sun Jul 24, 2005 12:06 am
Hi,
Anybody know how I can do bulk insert statements using Sqlite? I have a few lines of text for each entry, and probably 200 entries to insert. I know I can use: .read FILENAME with the sqlite executable, but which table(s) and column(s) do I insert the values? I can't even seem to read the database file with the executable - all I can find is a file called "s9y_f88803eab73183e7fde0dfccaf531d2d.db", which it tells me is invalid. But my blog is working fine, and that file is 52k which is about right.
thanks!
Anybody know how I can do bulk insert statements using Sqlite? I have a few lines of text for each entry, and probably 200 entries to insert. I know I can use: .read FILENAME with the sqlite executable, but which table(s) and column(s) do I insert the values? I can't even seem to read the database file with the executable - all I can find is a file called "s9y_f88803eab73183e7fde0dfccaf531d2d.db", which it tells me is invalid. But my blog is working fine, and that file is 52k which is about right.
thanks!