GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Handling multiple results sets from a single HExecuteSQLQuery call
Handling multiple results sets from a single HExecuteSQLQuery call
Iniciado por Nathan, mai., 11 2023 8:50 AM - 2 respostas
Conecte-se…
Nathan
#1
Publicado em maio, 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.
Denunciar
0
0
jose antonio garrido
#2
Publicado em maio, 18 2023 - 1:29 AM
Hi.
SQL Command UNION ALL, like the used in the example of stackoverflow, is avaiable in Windev.
Denunciar
0
0
Nate
#3
Membro registado
4 mensagems
Publicado em maio, 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.
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto