2014-03-31
1,564 reads
2014-03-31
1,564 reads
One of the biggest mistakes we can make when troubleshooting is to confuse the necessary responsibility of observing activity that...
2014-02-11
1,500 reads
We are awaiting Polar Vortex 2 in New England and are set to have more snow dumped on us starting...
2014-01-21
1,075 reads
Back when I was getting ready to take the plunge and begin consulting I sought advice from a friend who...
2014-01-20
785 reads
Just a quick note today on being effective.
For better or for worse, I was raised by parents who had me...
2014-01-16
666 reads
2013-12-24
579 reads
Microsoft publishes the following caution about enabling the CredSSP Windows Group Policy:
Caution: Credential Security Support Provider (CredSSP) authentication, in which...
2013-12-04
905 reads
“There is little value in ensuring the survival of our nation if our traditions do not survive with it. And...
2013-11-21
628 reads
ugggh.
My Drupal site in AWS EC2 was hijacked and is being used by the hijackers to do port scans.
Who said...
2013-11-06
602 reads
This sort of ties in to my last post on denying reality.
Managing expectations is the most important thing to success...
2013-10-11
695 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