PASS and new SSC design
I'm rarely a "needy" guy, but I have to admit that I'm feeling a little left out. Due to project...
2007-09-23
1,446 reads
I'm rarely a "needy" guy, but I have to admit that I'm feeling a little left out. Due to project...
2007-09-23
1,446 reads
Somehow between the sessions, networking and socializing I never found time to post anything last week. So, I'm going to...
2007-09-23
1,327 reads
This was my 5th year at PASS and every year I enjoy catching up with old friends and meeting many...
2007-09-23
1,355 reads
I see they finally rolled out the new site. Lots of annoying quirks so far, the biggest for me is...
2007-09-23
1,350 reads
Congratulations to Wayne on becoming President! I've known him for years and you couldn't ask for a guy with more...
2007-09-23
1,421 reads
It's done, it's out, and check it out!!!
I guess if you got here, you've probably noticed 🙂
This was a fairly...
2007-09-22
1,401 reads
Today was interesting. I headed for breakfast and after a few stops to chat with friends, wound up sitting with...
2007-09-21
1,465 reads
I haven't seen a lot of sessions at the 2007 Summit, but I did go through 4 or 5 across...
2007-09-21
1,393 reads
I was late, not getting up quick enough and then fighting traffic into the city. From there I did a...
2007-09-19
628 reads
Denver is a great location for a conference. The convention center is two blocks from the 16th street mall - must...
2007-09-19
524 reads
One feature that I have been waiting for years! The new announcement around optimize...
Following on from my last post about Getting Started With KubeVirt & SQL Server,...
By DesertDBA
I haven’t posted in a while (well, not here at least since I’ve been...
Comments posted to this topic are about the item Refactoring SQL Code, which is...
Comments posted to this topic are about the item The Read Committed Snapshot Isolation...
Comments posted to this topic are about the item Working with JSON/JSONB Data in...
I am currently working with Sql Server 2022 and AdventureWorks database. First of all, let's set the "Read Committed Snapshot" to ON:
use master; go alter database AdventureWorks set read_committed_snapshot on with no_wait; goThen, from Session 1, I execute the following code:
--Session 1 use AdventureWorks; go create table ##t1 (id int, f1 varchar(10)); go insert into ##t1 values (1, 'A');From another session, called Session 2, I open a transaction and execute the following update:
--Session 2 use AdventureWorks; go begin tran; update ##t1 set f1 = 'B' where id = 1;Now, going back to Session 1, what happens if I execute this statement?
--Session 1 select f1 from ##t1 where id = 1;See possible answers