Java – query returns multiple result sets
•
Java
I have an MSSQL database and am running the following query:
select * from projects; select * from user
The above query returns two result sets at a time. I can't trigger two queries alone How to process two result sets simultaneously in a Java class?
Solution
The answer is impossible The only way is to run them as separate queries
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码