SELECT statement shouldn't increase uncommitted transactions count
See original GitHub issue- Version: 4.0.4
- Platform: Ubuntu 16.04
- SQL: MS SQL Server 2012
- Connection Settings:
- Auto-commit: false
- Isolation level: Read committed
When I execute the following SELECT statement:
select * from alarmruleconditions where alarmruleid = 13035
The Commit and Rollback buttons are enabled, and transaction count textbox changes to green with a number “1”.
When hover on this textbox, I will get a popup:
1 total statements
1 modifying statements
1 seconds uptime
I think this is not correct, it is only a SELECT statement, not modifying anything. I remembered this not happens in 4.0.1 ~ 4.0.3.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:23 (2 by maintainers)
Top Results From Across the Web
How to Select UNCOMMITTED rows only in SQL Server?
Maybe you can do this: SELECT * FROM T WITH (SNAPSHOT) EXCEPT SELECT * FROM T WITH (READCOMMITTED, READPAST). But this is inherently...
Read more >Understand and resolve SQL Server blocking problems
This report shows current transactions at the head of a blocking chain. If you expand the transaction, the report will show the transactions...
Read more >Understanding the Impact of NOLOCK and WITH ... - SQLShack
The default behaviour in SQL Server is for every query to acquire its own shared lock prior to reading data from a given...
Read more >"But NOLOCK Is Okay When My Data Isn't Changing, Right ...
If you don't want to interfere with the write transaction, yes, but that is the absolute best way to get dirty data, or...
Read more >Understanding the SQL Server NOLOCK hint - MSSQLTips.com
This can improve query performance by removing the blocks, ... The NOLOCK and READUNCOMMITTED lock hints are not allowed for target tables ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue is back in 7.0 version
It seems that this issue is back in 7.0 version