[sqlite] creating database from dump file within C code

2010-01-24 Thread alenD
Hi all, I am a newbie to sqlite! Is there a way to create and populate a sqlite database from an already created dump file within C code. thanks! _alen D. -- View this message in context: http://old.nabble.com/creating-database-from-dump-file-within-C-code-tp27295724p27295724.html Sent from

Re: [sqlite] creating database from dump file within C code

2010-01-24 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 alenD wrote: Is there a way to create and populate a sqlite database from an already created dump file within C code. Load the dump text so you have it as one long string and then call sqlite3_exec pointing to that string. Behind the scenes what

Re: [sqlite] creating database from dump file within C code

2010-01-24 Thread alenD
Thanks, it worked perfect! _alenD Roger Binns wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 alenD wrote: Is there a way to create and populate a sqlite database from an already created dump file within C code. Load the dump text so you have it as one long string and then