SQLitening Support Forum

SQLitening Support => You've got Questions? We've got Answers! => Topic started by: Fim on June 24, 2019, 08:10:11 am

Title: sqlite3.exe with two parameters
Post by: Fim on June 24, 2019, 08:10:11 am
According to https://sqlite.org/cli.html item 18, two parameters can be used.
This works ok:
sqlite3 winova.db3 .help
But not this:
sqlite3 winova.db3 .read export.sql
Then I got the error message: Usage: .read FILE
Am I doing something wrong or ....
/Fim W
Title: Re: sqlite3.exe with two parameters
Post by: cj on June 25, 2019, 12:08:08 am
Everything can be done within PowerBASIC using this shell routine.

https://sqlitening.planetsquires.com/index.php?topic=9743.msg26446;topicseen#msg26446
Title: Re: sqlite3.exe with two parameters
Post by: Fim on June 25, 2019, 04:06:21 am
Thank you.
/Fim W.
Title: Re: sqlite3.exe with two parameters
Post by: cj on June 25, 2019, 08:24:13 am
Welcome.  Hope it helps.
Title: Re: sqlite3.exe with two parameters
Post by: cj on June 25, 2019, 08:40:44 am
I was wondering how to do a transaction.  Here is an example:
https://www.thegeekstuff.com/2012/09/sqlite-command-examples/