SQLite Forum

Feature request: Dynamically execute SQL from shell
Login
I fail to see the dangers as this is meant to run from the shell only.
If you have access to the database from the shell you can run the same SQL statements anyway.  So, no difference.

Your link is nice but has two issues:

  1. All statements will run, not just the ones selected.
  2. A result must match the expected one.