But, I didn't go until the end of the process.
After studying until now, and with the help of God, I've create an Stored Procedure that resolve all the problem.
It is a little bit slow than the other options, but, works very fine.
Thank you so much for your help @CarlosFigueira!
Best regards from Brazil.
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.