database - How to create a DB file in sqlite3 using a .schema file -
our client has provided file named db.schema. there command can use run file create .db file in sqlite3? can without having type in queries mentioned in db.schema file?
please help! thanks!
if file contains sql commands in correct format, sqlite3
command-line tool, , run this:
sqlite3 mydatabase.db < db.schema
many sqlite administration tools have functions import such file.
Comments
Post a Comment