-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add option for NOLOCK against MS SQL Server #3484
Comments
@mkirzon - Good point |
Can someone please provide a link to a good NOLOCK description, and discuss where it fit most naturally in dbplyr? As an attribute of the |
There are 2 ways NOLOCK can be set - on individual tables (most common) or on a global level for the connection. Since the table-level usage is common, its support in dbplyr could be a good place to start and agree it fits most naturally in I like this writeup on SQL Server NOLOCKs: https://www.mssqltips.com/sqlservertip/2470/understanding-the-sql-server-nolock-hint/ |
This issue was moved by krlmlr to tidyverse/dbplyr/issues/113. |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
When using dplyr directly against databases, it'd be helpful to have a NOLOCK options when configuring table connections.
This is a common practice in MSSQL to ensure complex queries don't lock the database for other read/writes. The tradeoff is that the read may be uncommited so this should be a toggleable option.
The text was updated successfully, but these errors were encountered: