Introduction to XML DML (Part 1) - Using the modify() method: insert
This is the first part of a 3 part blog which will attempt to show some different ways of how...
2012-01-16
16,184 reads
This is the first part of a 3 part blog which will attempt to show some different ways of how...
2012-01-16
16,184 reads
This is a revised post of an original article that I first published in December. Even though I thought that...
2012-01-09
257,261 reads
You can only use the position() function within an xquery predicate and can't use it to return the position value...
2011-12-28
6,758 reads
I've used SQL to generate countless blobs of xml over the years and one feature that I have come to...
2011-12-20 (first published: 2011-12-15)
8,815 reads
Database users can become orphaned for a few reasons. For example, a database restore to another instance or deleting the...
2011-10-29
1,613 reads
I know that this subject has been blogged about numerous times but I thought I'd post an alternative way of...
2011-10-28
8,809 reads
Database users can become orphaned for a few reasons. For example, a database restore to another instance or deleting the...
2011-10-20
21,479 reads
I came across this really simple best practice from BOL for the xml method exist which when used will give...
2011-10-17
1,974 reads
Is all set to be officially known as SQL 2012 and will be finally released in....... 2012!
Announced at the PASS...
2011-10-15
734 reads
SQLBits9 – “Query across the Mersey” was held in the majestic Adelphi hotel. This was my first SQLBits experience and was...
2011-10-10
894 reads
By Steve Jones
Superheroes and saints never make art. Only imperfect beings can make art because art...
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,...
Comments posted to this topic are about the item The AI Bubble and the...
Hi, in a simple oledb source->derived column->oledb destination data flow, 2 of my...
hi, i noticed the sqlhealth extended event is on by default , and it...
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