Skip to content
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

PERF: Omit SELECT @@ROWCOUNT; when we are executing just a single statement #7037

Open
Tracked by #14496
anpete opened this issue Nov 17, 2016 · 2 comments
Open
Tracked by #14496

Comments

@anpete
Copy link
Contributor

anpete commented Nov 17, 2016

Should be able to use ExecuteCommand and check rowsAffected instead of ExecuteReader.

@ajcvickers
Copy link
Contributor

If we decide to do this, let's check it will make an actual perf difference.

@roji
Copy link
Member

roji commented Oct 19, 2022

Shouldn't make any meaningful difference, but we can confirm.

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

No branches or pull requests

5 participants