Which BTW is the same as the output of the Distinction node which is connected to the template.
Now I have a question.
I understood that the idea was to implement your code suggestion in the template but your comments make me think that, if fact, that may not have been your intention.
Did I misunderstand something?
I made some changes to the code based on your comment where you mentioned that you where thinking of a function. ( Well, I think that's what you meant )
So it now looks like this:
I get a "better" result as it seems to like to execute the query without the Student PIDM error.
I have to test further but I think we made progress in the right direction. Thanks!!
After a few tests I think we are good. I did not get in your earlier comments that we were replacing the template with a function.
Using a function and placing the code to be executed in the oracle-db (SHDGIH INSERT) does the trick.
Thanks for all the help.