PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
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
Connect yourself…
Nathan
#1
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.
Report
0
0
jose antonio garrido
#2
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.
Report
0
0
Nate
#3
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.
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text