Skip to content

Performance and subqueries #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
RodrigoPuelma opened this issue Nov 16, 2021 · 0 comments
Open

Performance and subqueries #16

RodrigoPuelma opened this issue Nov 16, 2021 · 0 comments

Comments

@RodrigoPuelma
Copy link

RodrigoPuelma commented Nov 16, 2021

I am currently running 2 Query objects to retrieve a combined result. I was thinking of replacing them with one call with the inline query. I have 2 questions:

  1. In the MS Journal blog information under "Limitations / Disadvantages" it is stated that "It compiles the Query Text every time before executing. This is not good for performance.". How much of an impact is does the compilation have? I am trying to compare with 2 Query objects calling the same table with different subqueries.
  2. Can I do subqueries? I am trying to combine the 2 Query objects I am running today into one select query containing 2 subqueries.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant