PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → Handling multiple results sets from a single HExecuteSQLQuery call
Handling multiple results sets from a single HExecuteSQLQuery call
Started by Nathan, May, 11 2023 8:50 AM - 2 replies
Posted on May, 11 2023 - 8:50 AM
I would like to return multiple results sets from a single query execution similar to how it's handled in JAVA in this post:

https://stackoverflow.com/questions/9696572/queries-returning-multiple-result-sets

Is this even possible in WinDev? if so what is the required syntax?

I've tried instead running multiple HExecuteSQLQuery calls but they seem to have incredibly bad time complexity when nested as they massively slow down the execution of my program.

Any help or alternative options is appreciated.
Posted on May, 18 2023 - 1:29 AM
Hi.
SQL Command UNION ALL, like the used in the example of stackoverflow, is avaiable in Windev.
Registered member
4 messages
Posted on May, 24 2023 - 12:49 PM
Thank you for your answer, Jose

Unfortunately the UNION ALL command only works on results sets of equal columns. I'm trying to pull multiple sets of very different data with one request.