Do you want me to tell you the truth or do you want me to tell you what you want to hear?
We live in a Dilbert age.
If you are a DBA and have worked in organizations of any size you are...
2013-09-28
1,723 reads
We live in a Dilbert age.
If you are a DBA and have worked in organizations of any size you are...
2013-09-28
1,723 reads
I don't know why, but I never "got" LinkedIn and I ended up leaving it in frustration as I was...
2013-09-21
714 reads
When I first heard of the MCM program termination discontent, I reacted by sympathizing with my fellow Database Professionals but...
2013-09-05
967 reads
I could tell you a story about Green Day's cover of John Lennon's classic "Working Class Hero" that you wouldn't...
2013-08-29
810 reads
2013-08-23
719 reads
I had a very unpleasant experience a while back when I was commenting anonymously on a web site (not SQL...
2013-08-06
589 reads
Back when I was trying to start a business and unknowingly heading towards a economic cliff, I read all sorts...
2013-07-10
586 reads
I was thinking back fondly of my Dad - who passed away during Hurricane Sandy - this past Father's Day. Of the...
2013-07-03
561 reads
Microsoft no longer supports SQL Server 2000 in any capacity.
http://youtu.be/A5cneCgNA9U
2013-04-10
818 reads
Sometimes the answer is to keep going.
Forget words, figuring things out, and circumstances. Just keep moving your feet.
~Chuck
"Nothing in the...
2013-04-09
615 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