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

c# - Reactive Extensions ControlScheduler -

ios - How to determine if NSLayoutConstraint is horizontal or vertical? -

javascript - Enable/Disable form elements and changing the values of button at a time? -