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

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -