Hi. I have a table called [Test], which has a single column [Id] int.
I open a transaction, insert one row to the table and NOT commit it.
begin tran
insert into [Test]([Id]) values(1)
In another request I want to select data from table [Test]. How can I read only commited data immediately?
Readcommited table hint holds a lock.
select * from test with(readcommitted)
Thank you.