Re: [sqlite] Sqlite3: create a database from file using one line command-line script

2019-02-06 Thread Keith Medcalf
tasvgt >Sent: Wednesday, 6 February, 2019 12:47 >To: sqlite-users@mailinglists.sqlite.org >Subject: [sqlite] Sqlite3: create a database from file using one line >command-line script > >Hi, I need to run a command to create a database and populate it from >a >.sql file at once

Re: [sqlite] Sqlite3: create a database from file using one line command-line script

2019-02-06 Thread Donald Griggs
sqlite3 myDatabase.db ".read myCommands.sql" On Wed, Feb 6, 2019 at 3:30 PM kostasvgt wrote: > Hi, I need to run a command to create a database and populate it from a > .sql file at once from command-line, not dot-commands. > Is there any way to do this in one line? > > Thanks. >

[sqlite] Sqlite3: create a database from file using one line command-line script

2019-02-06 Thread kostasvgt
Hi, I need to run a command to create a database and populate it from a .sql file at once from command-line, not dot-commands. Is there any way to do this in one line? Thanks. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org