What is the database property “Compatibility Level”
What is the database property Compatibility Level? I don’t get asked to write about specific subjects very often but in...
2015-07-08
678 reads
What is the database property Compatibility Level? I don’t get asked to write about specific subjects very often but in...
2015-07-08
678 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-07
741 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-07
39 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern...
2015-07-07
46 reads
This is part of a series on how to take the Adventureworks database and bring it in line with modern standards. How do we put a legacy SQL Server...
2015-07-07
4 reads
Constraints are sometimes annoying in real life, but no society can exist without rules and regulations. The same concept is...
2015-07-07
833 reads
Happy T-SQL Tuesday,
July 14, 2015! (I have been time traveling, and now back on this continuum ;-) @SQLBek, Andy Yun, has...
2015-07-22 (first published: 2015-07-07)
2,661 reads
A few years ago on road trips I’d happily grab whatever I can find to eat at service stations. That...
2015-07-14 (first published: 2015-07-07)
2,618 reads
Recently, I ran into a critical error while I was helping a customer troubleshoot an issue in SQL Server. That...
2015-07-14 (first published: 2015-07-07)
29,581 reads
Containers are one of the big things at the moment, Microsoft has recently announced that they will be bringing official...
2015-07-07
37 reads
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
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
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