I want to use SELECT WITH NOLOCK
, the table on which i want to use SELECT WITH NOLOCK
query have no updation query and the data i want to fetch are less the current inserted record.I want to use NOLOCK
because sometime i am getting Timeout exception in SELECT query. I think this is because of Table would be LOCKED by Insert query which is running constantly and SELECT query have to wait for long time so it's giving Timeout error.
So please suggest should i use NOLOCK
here, I have read some post were written about uncommitted transaction and they suggest not to use NOLOCK
.