You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to do use table hints per query with MSSQL #8830
If I want only one target table to require a lock-less state, this is not possible. You can only set the isolation level to the entire transaction. I'd like to be able to set the NOLOCK table hint (or any other table hint) to limit that isolation level or suggest other options to the specific query.
What do you expect to happen?
To be able to set NOLOCK on a specific select query, not the entire transaction
What is actually happening?
This is not possible.
I'd like to take a stab at this, if someone thinks it would be beneficial.
changed the title [-]Ability to do a NOLOCK table hint so that READUNCOMMITTED can be used on a single query[/-][+]Ability to do use table hints per query with MSSQL[/+]on Jan 5, 2018
Upon coding this, I decided it would be better to allow other table hints, instead of just allowing NOLOCK. So I have changed the title and description of this issue and have done a pull request for the feature #8843
Activity
janmeier commentedon Jan 4, 2018
Sounds good to me, go for it!
feat(query-generator): Ability to use table hints in mssql
[-]Ability to do a NOLOCK table hint so that READUNCOMMITTED can be used on a single query[/-][+]Ability to do use table hints per query with MSSQL[/+]mccabemj commentedon Jan 5, 2018
Upon coding this, I decided it would be better to allow other table hints, instead of just allowing NOLOCK. So I have changed the title and description of this issue and have done a pull request for the feature #8843
refactor(table-hints): Exposing a new object for the various table hi…
sushantdhiman commentedon Jan 5, 2018
11ff776