> On Feb 13, 2020, at 12:52 PM, David Jones <jon...@columbus.rr.com> wrote: > > sqlite> select F,G,H,attr(H,3) from summary; # show formula used > to calculate column H.
Maybe pass the column name as a string, i.e. `attr('H',3)`? It sounds like your `attr` function needs to know the _identity_ of the column, not its contents, and the name is basically the identity. —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users