SQLite Function that performs additional queries -
I have written a custom SQL function that changes a string because it is copied from one table to another. It's basic and its work has been good for a long time. The query looks like this:
Include in Table 2 (field 1) SELECT MYTRANSFORM (field2) to Table 2;
Now I need to modify the behavior of that function so that it can do a lookup on the second table and as a result, how the value can change. Is this possible? Has anyone done it successfully?
This is possible; You can execute other SQL queries from within your function, as long as you do not call your function repeatedly.
Comments
Post a Comment