Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
set autocommit = off;
Start transaction;
select count(1) from TrxDb.Products where Id = 1000;
update TrxDb.Products set Stock = 8 where Id = 1000 and Version = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment