[EMAIL PROTECTED] wrote:

can SQLite receive as input a file containing SQL instructions?

Benedetta,

The SQLite library can't do that itself, but the command shell program that comes with it can using the ".read" command.

   sqlite3 mydb.db3 ".read mysql.txt"

This will open (or create) the database file and then execute all the SQL statements in the file mysql.txt.

HTH
Dennis Cote


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to