Give us SP3!
There has been a great deal of wailing and gnashing of teeth regarding the scuttlebutt that SP2 will be the...
2008-03-12
702 reads
There has been a great deal of wailing and gnashing of teeth regarding the scuttlebutt that SP2 will be the...
2008-03-12
702 reads
Between teaching classes, attending community events, and participating in the local user group I get to have a lot of...
2008-03-11
675 reads
Just spoke with Brian this morning to get an event update for SQLSaturday #3:
122 attendees registered so far (event is...
2008-03-11
482 reads
Friday I gave another iteration of our free Sucessful Technical Speaking class, upgraded some since the last version, and this was...
2008-03-10
545 reads
I'll be teaching a one day performance tuning seminar that targets beginning DBA's and developers that do data access, hoping to...
2008-03-09
768 reads
Oneof my tasks for our mini-Summit for Red Gate was to show the crew how I do the podcasts. There...
2008-03-08
959 reads
I was mildly amused by my friend Steve Jones blog post Finding a Direction about not really wanting to spend...
2008-03-06
534 reads
Mary Jo Foley reports that MS is signing up testers for a hosted SQL Server solution called SQL Server Data...
2008-03-06
725 reads
I'm not a bg fan of long meetings. I used to try and plan an hour a week staff meeting...
2008-03-04
886 reads
My friend Shawn Weisfeld is expecting more than 400 attendees at Orlando Code Camp this year. There will be at...
2008-03-04
340 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