Yeah I know you're asking why not use Datasette...I'd love to but I'm limited to what is provided by OS and what can be compiled with Visual Studio. So for scripting it is VBScript/Javascript and ADO recordsets via ODBC. But I do read/love your site/blog/TIL and always try to keep up with posts just for the SQLite tidbits :-)
Was reading https://github.com/simonw/til/blob/main/sqlite/simple-recursive-cte.md and wondering if the last query on the page
should read
Note replacement of
x+2
withy+2
. That would result in the following (from my own VBScript tool using ODBC) which seems to be your intention:Yeah I know you're asking why not use Datasette...I'd love to but I'm limited to what is provided by OS and what can be compiled with Visual Studio. So for scripting it is VBScript/Javascript and ADO recordsets via ODBC. But I do read/love your site/blog/TIL and always try to keep up with posts just for the SQLite tidbits :-)