Hi Ricardo,
Far as I know, there should be no difference in the generated queries, since Advanced Queries were designed in order to be able to run our own code without any interference of Outsystems Platform. However, the test query was not supposed to execute statments like INSERT, DELETE, Procedures calls... etc. Most of times a message error is raised. You can force it by inserting a COMMIT at the end of your query and the operation will be executed after all.
Best regards,
Far as I know, there should be no difference in the generated queries, since Advanced Queries were designed in order to be able to run our own code without any interference of Outsystems Platform. However, the test query was not supposed to execute statments like INSERT, DELETE, Procedures calls... etc. Most of times a message error is raised. You can force it by inserting a COMMIT at the end of your query and the operation will be executed after all.
Best regards,