XML Attribute VS Element Assignment when working with SQL
XML handling with aliases
I find it interesting the difference in behavior with querying XML between column assignment, and quoted alias...
2015-09-21
318 reads
XML handling with aliases
I find it interesting the difference in behavior with querying XML between column assignment, and quoted alias...
2015-09-21
318 reads
I have spoken a number of times at different SQLSaturdays around the world, including some rather rare editions, such as...
2015-09-21
439 reads
A predicate is a filtering mechanism used in SQL Server to target specific data when either querying or updating rows.
Related Posts:
Short Circuiting Your Session January 5, 2019
How To:...
2015-09-21
14 reads
At one time or another, a predicate has been the best friend or worst enemy of the data professional. If...
2015-09-21
723 reads
Tables within SQL Server can contain a maximum of 8060 bytes per row. However even though columns are limited to...
2015-09-21
376 reads
Tables within SQL Server can contain a maximum of 8060 bytes per row. However even though columns are limited to...
2015-09-21
653 reads
I spent something like 2 hours today trying to figure out how a particular user had access to one of...
2015-09-21
634 reads
The pie chart should be avoided at all costs. Why?
you can only display a limited number of slices (although that...
2015-09-21
553 reads
Hi all!
Sorry for long delay but i was a pretty busy preparing SQLSat
Now mission is accomplished and i'll return to...
2015-09-21
458 reads
XML handling with aliases
I find it interesting the difference in behavior with querying XML between column assignment, and quoted alias...
2015-09-21
204 reads
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
By Steve Jones
No, Iām not quitting or retiring. Just going on vacation, but I leave tonight...
Comments posted to this topic are about the item Let's Talk Certifications, which is...
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers