Posted on 2008-02-14 21:38:05-08 by jpolache in response to 7107
Re: create database, check for table
Check for the file that represents the database. I guess that was to obvious for me to think of. OK, so the next step would be to create the database from within the script if it does not already exist. As far as I can tell, the way to create a SQLite database is to call the sqlite3.exe [DBNAME] from the command line. I could use a system call from within the script (system("sqlite3 [DBNAME]";) but how would I send .quit to stop the utility? Is there something else obvious I'm missing?
Direct Responses: 7112 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.