Why do you have multiple queries? Your intent would determine how to approach writing the command.
It is best to use one command as your datasource instead of linking them, since in the latter case, the linking occurs locally and slows your report. If you wrote separate queries within one command, I think each query would run once for each record in the other query--creating a Cartesian join and dramatically slowing your report. If you have summaries you want to create with the command, set them up as subqueries in your Select clause.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.