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,115 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,115 reads
This is a revised post of an original article that I first published in December. Even though I thought that...
2012-01-09
254,573 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,712 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,788 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,607 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,429 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,470 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,959 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
731 reads
SQLBits9 – “Query across the Mersey” was held in the majestic Adelphi hotel. This was my first SQLBits experience and was...
2011-10-10
891 reads
By Steve Jones
One of the things I’ve been experimenting with in AI is taking things other...
By Steve Jones
I’ll be at SQL Bits tomorrow, Saturday Jun 20, 2025 for the final day...
By John
In a recent video, I took a hands-on look at the Next Gen General...
Full error message: SSRS error: The Value for the image 'Image1' has a constant...
We are in the process of upgrading to SQL Server 2022 and would like...
Comments posted to this topic are about the item How to Choose the Right...
I have a table, called dbo.logger, in SQL Server 2022. I decide to add two new columns to this table with this code.
ALTER TABLE dbo.logger ADD CreateDate DATETIME CONSTRAINT dfGetDate DEFAULT GETDATE() GO ALTER TABLE dbo.logger ADD ModifyDate DATETIME DEFAULT dfGetDate GOWhat happens when I run these two batches? See possible answers