SQLite Forum

Feature request: Dynamically execute SQL from shell
Login
I tried it, and it appears to work well with the little testing I did.  Thanks.

Suggestion for improvement (unless it can already do this somehow I didn't see).

To make it more dynamic, allow more arguments with the first being the SQL statement and the remaining positional substitutes for the SQL statements.

Example:

`eval('update t set a=?, b=?','one','two')`

to do this:

`update t set a ='one', b='two'`