On Thu, Apr 17, 2014 at 2:43 PM, aperi2007 <aperi2...@gmail.com> wrote:
> Hi to all, > > There is in sqlite a command to run a query build at runtime ? > Not built-in. But you can add your own. See http://www.sqlite.org/src/artifact/d3013ce36f19ac72?ln=289-319 for an example function that does this that we use for testing. > > Our use-case is a list of query build from a sql script and stored in a > table. > > something like this: > > select EXECUTE([field_query]) from table1; > > where "table1" is the table and "field1" is the field where the builded > query was previous stored. > > the queries could be of kind "create ...", "insert ...", "update ...." and > so on. > > Thx, > > Andrea Peri. > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users